aboutsummaryrefslogtreecommitdiff
path: root/doc/html/appdev/refs/macros/(developers-only)
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2026-03-16 16:20:08 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2026-03-16 16:20:08 +0000
commit8065ff63c0e5c3bb4abb02f55b20cb47bb51d1a7 (patch)
treeaf8e7c1c5991150c3374eb76eb687d11b9304bf7 /doc/html/appdev/refs/macros/(developers-only)
parent33e0568d30a687b3bbd3f00fd9b323ff031e39a2 (diff)
ifnet: Fix decreasing the vnet interface countHEADmain
It should be decreased only when the interface has been successfully removed from the "active" list. This prevents vnet_if_return() from potential OOB writes to the allocated memory "pending". Reviewed by: kp, pouria Fixes: a779388f8bb3 if: Protect V_ifnet in vnet_if_return() MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D55873
Diffstat (limited to 'doc/html/appdev/refs/macros/(developers-only)')
0 files changed, 0 insertions, 0 deletions