aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/scripts/calc_tickadj/(developers-only)
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2024-07-02 04:57:02 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2024-07-02 04:57:02 +0000
commit087f5e08ab5f0384163f76f73b9a91c98a3ba450 (patch)
treee4e4f0623eac09d444ebf2ac9c6caa04a6f996ca /contrib/ntp/scripts/calc_tickadj/(developers-only)
parentd6963b9ed3287e91db3d1df153861591faff0007 (diff)
downloadsrc-main.tar.gz
src-main.zip
if_vxlan(4): Plug a memory leakHEADmain
On clone creating, either failure from vxlan_set_user_config() or ifc_copyin() will result in leaking previous allocated counters. Since counter_u64_alloc(M_WAITOK) never fails, make vxlan_stats_alloc() void and move the allocation for counters below checking ifd->params to avoid memory leak. Reviewed by: kp, glebius Fixes: b092fd6c973d if_vxlan(4): add support for hardware assisted checksumming, TSO, and RSS MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45822
Diffstat (limited to 'contrib/ntp/scripts/calc_tickadj/(developers-only)')
0 files changed, 0 insertions, 0 deletions