em driver issues

Matthew Dillon dillon at apollo.backplane.com
Thu Feb 3 18:14:41 PST 2005


:
:This is the culprot. We have to check for mcl == NULL before the free
:as the bare minum. Matt, shouldn't we either block or return if the
:allocation for mcl fails?
:
:Joerg

    I am breaking out of the loop immediately.  The MCL allocation will
    fail and EM should drop the packet.

    A larger question is why that malloc() is failing.  It can only happen
    of the malloc pool for M_BUFCL hits its allocation limit.  That's 
    usually pretty hard to do but I guess not in this instance I guess :-)

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list