CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2009/08/12 08:39:05

Modified files:
        sys/kern       : uipc_mbuf.c 
        sys/net        : if_ethersubr.c 
        sys/sys        : mbuf.h 
        sys/dev/pci    : if_em.c if_ix.c 

Log message:
if we get dangerously low on clusters during interrupts, we need
to free some for use on the rx rings on network cards.

this modifies m_cluncount to advise callers when we're in such a
situation, and makes them responsible for freeing up the cluster
for allocation by MCLGETI later.

fixes an awesome lockup with sis(4) henning has been experiencing.
this is not the best fix, but it is better than the current situation.

yep deraadt@ tested by henning@

Reply via email to