cvs commit: src/sys/net if.c
Brooks Davis
brooks at FreeBSD.org
Sun Jun 12 00:53:04 GMT 2005
brooks 2005-06-12 00:53:03 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
Return NULL instead of a bogus pointer from if_alloc when if_com_alloc
fails.
Move detaching the ifnet from the ifindex_table into if_free so we can
both keep the sanity checks and actually delete the ifnets. [0]
Reported by: gallatin [0]
Approved by: re (blanket)
Revision Changes Path
1.232 +9 -6 src/sys/net/if.c
More information about the cvs-src
mailing list