Page MenuHomeFreeBSD

if_vxlan(4): Move the allocating of statistics counters below if_alloc()
ClosedPublic

Authored by zlei on Jul 14 2024, 3:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 13 2025, 12:14 AM
Unknown Object (File)
Dec 1 2025, 9:21 PM
Unknown Object (File)
Nov 24 2025, 11:44 AM
Unknown Object (File)
Nov 23 2025, 9:32 PM
Unknown Object (File)
Nov 23 2025, 10:38 AM
Unknown Object (File)
Nov 23 2025, 9:44 AM
Unknown Object (File)
Nov 23 2025, 4:38 AM
Unknown Object (File)
Nov 22 2025, 11:39 PM
Subscribers

Details

Summary

The MFS of the fix [1] is done but the prerequisite [2] has not been
MFCed to stable/13 branch yet. This result in another potential leak
condition in stable/13 branch. Well if_alloc(IFT_ETHER) shall not
fail, but just in case.

This is direct commit to stable/13.

  1. e729e750806d if_vxlan(4): Plug a memory leak
  2. 4787572d0580 ifnet: make if_alloc_domain() never fail

Fixes: 12bd1341d2aa if_vxlan(4): Plug a memory leak

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable