cvs commit: src/sys/net if_ethersubr.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Oct 13 04:33:42 PDT 2007


sephe       2007/10/13 04:32:34 PDT

DragonFly src repository

  Modified files:
    sys/net              if_ethersubr.c 
  Log:
  Save a copy of ethernet header instead of leaving it in the mbuf, so we
  will not get a dangling 'eh' pointer after calling some functions, which
  changes the passed in mbuf (may free the part that 'eh' is pointed at).
  
  This commit is intended to fix following bug:
  http://leaf.dragonflybsd.org/mailarchive/bugs/2005-01/msg00056.html
  
  The discussion about the fix began with:
  http://leaf.dragonflybsd.org/mailarchive/bugs/2005-01/msg00147.html
  
  Revision  Changes    Path
  1.49      +15 -13    src/sys/net/if_ethersubr.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.48&r2=1.49&f=u





More information about the Commits mailing list