]> git.baikalelectronics.ru Git - 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)
commitecd3b7d652253bc1b20ddf5e91c101fea9b84d00
tree75808e39e15bf3575efc77274b3b50ad48ca5e87
parentfaa807b7adeba3e3b9006d2a6058ec24ddc02400
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: 87bd20a7a731 ("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