ip: IP6 incorrectly disabled on removing first ip6 prefix 90/29390/2
authorNeale Ranns <nranns@cisco.com>
Mon, 12 Oct 2020 11:46:53 +0000 (11:46 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Mon, 12 Oct 2020 15:08:04 +0000 (15:08 +0000)
commitc96ac7648efcf3d6d62513de54d96d34378e20fa
tree99db6f225bbbb7f7b760b5bf12a974aaca96bbc8
parent70edc1c48724a0007f671a4ef53e982dbb5b87a9
ip: IP6 incorrectly disabled on removing first ip6 prefix

Type: fix

reference counting on the ip6 state was broken, meaning that disabling
one of serveral ip6 configs on an interface, completely ip6 disabled the
interface.

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ie3af51587310ffe871ad2a9cbd927e15a3ececa9
src/vnet/ip/ip6_link.c