cvs commit: src/sys/net/bridge if_bridge.c
Thomas E. Spanjaard
tgen at netphreax.net
Thu Jan 4 13:25:21 PST 2007
Joerg Sonnenberger wrote:
On Thu, Jan 04, 2007 at 10:55:18AM -0800, Thomas E. Spanjaard wrote:
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.
Thanks. I used M_INTNOWAIT instead of just reverting that one.
Cheers,
--
Thomas E. Spanjaard
tgen at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00001.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070104/5c8603bf/attachment-0022.obj>
More information about the Commits
mailing list