diff options
author | brooks <brooks@FreeBSD.org> | 2005-06-12 00:53:03 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-06-12 00:53:03 +0000 |
commit | 2a4fb1caf123f1a11d6912437c7d7ee3473f44f3 (patch) | |
tree | fb2fe3a529437df9c5ad036c4c5425e2cf4eecc3 /sys/kern | |
parent | 70b9333cb481d6b5da744e869d927c9ddec91429 (diff) | |
download | FreeBSD-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