]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commit07f6642ee9418e962e54cbc07471cfe2e559c568
treed91644c131130086be22b82a07979dcc85ea8ac9
parentbbd8a0d3a3b65d341437f8b99c828fa5cc29c739
net,pppoe: fixup module init/exit subsequent calls

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>
drivers/net/pppoe.c