]> err.no Git - linux-2.6/commit
dmfe: fix two bugs
authorMaxim Levitsky <maximlevitsky@gmail.com>
Tue, 6 Mar 2007 10:41:52 +0000 (02:41 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 6 Mar 2007 11:10:02 +0000 (06:10 -0500)
commit4dc68f3de5e36d72663bb51b94662d2d5db84125
treef5dd7ac3fce58e5f4e760a1c7b212230321eeeb5
parentf67ba792fa10e3a65226d53dccc1232908d86c20
dmfe: fix two bugs

Fix a oops on module removal due to deallocating memory before unregistring
driver Fix a NULL pointer dereference when dev_alloc_skb fails

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Valerie Henson <val_henson@linux.intel.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tulip/dmfe.c