[NET] net/core: Fix error handling
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Mon, 7 May 2007 07:33:18 +0000 (00:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 May 2007 07:33:18 +0000 (00:33 -0700)
commit2396a22e0989df6038996506bfbf7a57f116c299
tree78457223b226abfd52d059cdc13797d06af34cdd
parentd5bb306b42e39ffecaf85d1f9d04a3b5d9a97c86
[NET] net/core: Fix error handling

Upon failure to register "ptype" procfs entry, "softnet_stat" was not
removed, and an incorrect attempt was made to remove the "ptype" entry.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c