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

cvs commit: src/sys/net netisr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Apr 2004 17:46:28 -0700 (PDT)

dillon      2004/04/16 17:46:28 PDT

DragonFly src repository

  Modified files:
    sys/net              netisr.c 
  Log:
  netisr_queue() needs to reliably allocate the message used to reference the
  mbuf so make the allocation M_WAITOK instead of M_NOWAIT.  This also fixes
  an mbuf leak due to some users of netisr_queue() not checking the return
  value.  Note, however, that there were and still are issues with
  netisr_queue() blocking (due to occassionally waiting on kernel_map,
  possible deadlock issues, and so forth).
  
  Revision  Changes    Path
  1.12      +1 -2      src/sys/net/netisr.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.11&r2=1.12&f=h



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