cvs commit: src/sys/net netisr.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Apr 16 17:47:30 PDT 2004


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





More information about the Commits mailing list