]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r326898:
authorae <ae@FreeBSD.org>
Sun, 24 Dec 2017 02:05:19 +0000 (02:05 +0000)
committerae <ae@FreeBSD.org>
Sun, 24 Dec 2017 02:05:19 +0000 (02:05 +0000)
commitfbdac417a12f30dfbee72531f4be18b514f3363c
tree5609c5c5e6d90defb5594bbe5c2d4e0474e5d8ca
parent594c7b1f94a06578bcab1da085599f4ca8df9b48
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
sys/net/if_vxlan.c