net: Fix ks8851 snl NULL pointer dereference Oops
authorTristram Ha <Tristram.Ha@micrel.com>
Thu, 3 Dec 2009 11:06:42 +0000 (11:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Dec 2009 00:04:25 +0000 (16:04 -0800)
commit3320eae51d6e4c65b4733bf4d87de3b833973a1f
tree49f79a539dc3f1286654570bdd11543bed8e39d7
parentfc4a7489663250360cd40d5adf06a08d1c5d54df
net: Fix ks8851 snl NULL pointer dereference Oops

This fixes the NULL pointer dereference Oops in the ks8851 snl network
driver during transmission.  All socket buffers from the queue are
processed inside the loop, but new workqueues have been scheduled to
run.

Signed-off-by: Tristram Ha <Tristram.Ha@micrel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8851.c