pppol2tp: stop using proc internals
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 27 Jan 2009 05:10:08 +0000 (21:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2009 05:10:08 +0000 (21:10 -0800)
commitcbec6605cf0fd5080f03eb787c95c1ecd660421f
tree7e06a8370b12a0edd97f28a73a60d4532cea43d5
parent9a3b7a42bb2919a6282a96a5f4abe0f9be36c4b3
pppol2tp: stop using proc internals

PDE_NET usage in driver code is a sign and, indeed, switching
to seq_open_net/seq_release_net saves code and fixes bogus things, like
user triggerabble BUG_ON(!net) after maybe_get_net, and NULLifying ->private.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c