]> 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, 20 Sep 2017 06:19:56 +0000 (08:19 +0200)
commitbf8ed95d2ca9c99f0237fb3cf56c381b19130610
treed91860bb3eb9a7e6faeeaf9f74cd85310c10df2c
parentc9335db792c04be68e553c6d0537c9df8b20e557
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