cvs commit: src/sys/net if_mib.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Mon Jan 3 15:25:58 PST 2005
joerg 2005/01/03 15:25:25 PST
DragonFly src repository
Modified files:
sys/net if_mib.c
Log:
Check that the ifnet_addrs entry is actually used before dereferencing it.
Also protect the check with splnet() to avoid further race conditions.
Revision Changes Path
1.4 +8 -3 src/sys/net/if_mib.c
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_mib.c.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list