]> err.no Git - linux-2.6/commit
ppp: Do not free not yet unregistered net device.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 14 May 2008 06:51:18 +0000 (23:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2008 06:51:18 +0000 (23:51 -0700)
commit4b95ede6f6116ae1c0ed9605ec97d856c4814569
treeeed0dbc4752ec5f3118cb1da7b56e822caccbd45
parent01b7a314291b2ef56ad718ee1374a1bac4768b29
ppp: Do not free not yet unregistered net device.

An error path in ppp_create_interface() lacks one and may
BUG in free_netdev() checking for proper dev->reg_state.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c