DragonFly commits List (threaded) for 2007-01
DragonFly BSD
DragonFly commits List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Thu, 04 Jan 2007 21:24:28 +0000

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@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]