pppol2tp: calls unregister_pernet_gen_device() at unload time
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 28 Jul 2009 03:47:39 +0000 (03:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 19:20:34 +0000 (12:20 -0700)
commit446e72f30eca76d6f9a1a54adf84d2c6ba2831f8
treeb532fdcb477702afb9c0fe75f245af8fea686f77
parenta53a8b56827cc429c6d9f861ad558beeb5f6103f
pppol2tp: calls unregister_pernet_gen_device() at unload time

Failure to call unregister_pernet_gen_device() can exhaust memory
if module is loaded/unloaded many times.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c