]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/ipv6: Put lwtstate when destroying fib6_info
authorDavid Ahern <dsahern@gmail.com>
Mon, 20 Aug 2018 20:02:41 +0000 (13:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Aug 2018 01:18:40 +0000 (18:18 -0700)
commit80f1a0f4e0cd4bfc8a74fc1c39843a6e7b206b95
tree75808e39e15bf3575efc77274b3b50ad48ca5e87
parent176eb614b118c96e7797f5ddefd10708c316f621
net/ipv6: Put lwtstate when destroying fib6_info

Prior to the introduction of fib6_info lwtstate was managed by the dst
code. With fib6_info releasing lwtstate needs to be done when the struct
is freed.

Fixes: 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c