[Bug 224371] vxlan leaks memory
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 16 14:37:19 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224371
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ae
Date: Sat Dec 16 14:36:21 UTC 2017
New revision: 326898
URL: https://svnweb.freebsd.org/changeset/base/326898
Log:
Fix possible memory leak.
vxlan_ftable entries are sorted in ascending order, due to wrong arguments
order it is possible to stop search before existing element will be found.
Then new element will be allocated in vxlan_ftable_update_locked() and can
be inserted in the list second time or trigger MPASS() assertion with
enabled INVARIANTS.
PR: 224371
MFC after: 1 week
Changes:
head/sys/net/if_vxlan.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list