]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3318340f94e451767719eb29991fbf7d6f8d8fbf
treeb532fdcb477702afb9c0fe75f245af8fea686f77
parent985b205e31bc6a33849efaa81d677131709da4f3
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