ipv6: fix typo in fib6_net_exit()
authorEric Dumazet <edumazet@google.com>
Fri, 8 Sep 2017 22:48:47 +0000 (15:48 -0700)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 09:46:00 +0000 (10:46 +0100)
commit488ec7b227e442ec3f288ad9245d9a78ec3df57b
tree340ef5e6743221e30975556d9219ddb7b8725675
parent4e39d5e48bac267582da35d420bf67f985105fd7
ipv6: fix typo in fib6_net_exit()

commit 32a805baf0fb70b6dbedefcd7249ac7f580f9e3b upstream.

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: Willy Tarreau <w@1wt.eu>
net/ipv6/ip6_fib.c