summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-06-12 00:53:03 +0000
committerbrooks <brooks@FreeBSD.org>2005-06-12 00:53:03 +0000
commit2a4fb1caf123f1a11d6912437c7d7ee3473f44f3 (patch)
treefb2fe3a529437df9c5ad036c4c5425e2cf4eecc3 /sys/kern
parent70b9333cb481d6b5da744e869d927c9ddec91429 (diff)
downloadFreeBSD-src-2a4fb1caf123f1a11d6912437c7d7ee3473f44f3.zip
FreeBSD-src-2a4fb1caf123f1a11d6912437c7d7ee3473f44f3.tar.gz
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)
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud