DragonFly commits List (threaded) for 2007-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net if_ethersubr.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]