ipv6: fix typo in fib6_net_exit()
authorEric Dumazet <edumazet@google.com>
Fri, 8 Sep 2017 22:48:47 +0000 (15:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Sep 2017 06:22:10 +0000 (08:22 +0200)
commitaa02286a03c75d6b2f739f0dc0b49e310d9ce42c
tree6dbc289670a660b319ca7e89be7f85da7150f9bd
parent18c6d4c4d17a26d2ae1e53092d3afcbaae3690ef
ipv6: fix typo in fib6_net_exit()

[ Upstream commit 32a805baf0fb70b6dbedefcd7249ac7f580f9e3b ]

IPv6 FIB should use FIB6_TABLE_HASHSZ, not FIB_TABLE_HASHSZ.

Fixes: ba1cc08d9488 ("ipv6: fix memory leak with multiple tables during netns destruction")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_fib.c