]> git.itanic.dy.fi Git - linux-stable/commit
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, 27 Sep 2017 08:57:19 +0000 (10:57 +0200)
commit4c97e1c4a67cf5c1150e78de714571a87654ac3d
tree3839ef7e503da8b495bc89738d0c88a8c8c7dc7f
parentfbca27ad2916e18251168d7b43e3d185001917fc
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