net,pppoe: fixup module init/exit subsequent calls
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 12 Aug 2009 23:39:16 +0000 (16:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2009 23:39:16 +0000 (16:39 -0700)
pernet data should allocated first and freed last
on module init/exit routines otherwise it's possible
to have unserialized calls to packet handling routines.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found