l2tp: exit_net cleanup check added
authorVasily Averin <vvs@virtuozzo.com>
Sun, 12 Nov 2017 19:30:31 +0000 (22:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 06:45:53 +0000 (15:45 +0900)
commit1e7af3b2cdf2dc9e4fd86c799414b3c504975270
treee5d20db4bf806662a6e2b2b954d47b6123d237ab
parentce2b7db38af1ffefa6b04b5113b4d69ad36d38ba
l2tp: exit_net cleanup check added

Be sure that l2tp_session_hlist array initialized in net_init hook
was return to initial state.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c