cvs commit: src/sys/net/bridge if_bridge.c

Joerg Sonnenberger joerg at britannica.bec.de
Thu Jan 4 13:00:29 PST 2007


On Thu, Jan 04, 2007 at 10:55:18AM -0800, Thomas E. Spanjaard wrote:
>   Log:
>   Adjust a couple of kmalloc calls to use M_WAITOK instead of M_RNOWAIT. It
>   appears there is no problem in waiting here, and use of M_RNOWAIT without
>   M_USE_RESERVE is dangerous. If this doesn't work 'right' either, the
>   proper solution is to use M_INTNOWAIT instead.

Please revert the change to bridge_rtupdate. That function is called
from interrupt context and must not block. The others should be fine.

Joerg





More information about the Commits mailing list