[Bug 224371] vxlan leaks memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 24 02:06:12 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224371

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ae
Date: Sun Dec 24 02:05:19 UTC 2017
New revision: 327141
URL: https://svnweb.freebsd.org/changeset/base/327141

Log:
  MFC r326898:
    Fix possible memory leak.

    vxlan_ftable entries are sorted in descending 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

Changes:
_U  stable/11/
  stable/11/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