]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
aoe: Fix OOPS after SKB queue changes.
authorDavid S. Miller <davem@davemloft.net>
Wed, 24 Sep 2008 03:47:22 +0000 (20:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Sep 2008 03:47:22 +0000 (20:47 -0700)
commitd87798450a7635ab1bcc80271a13ce4a53b016a9
treed60f6a09089f856073e9a02df92dbdf54c3b62fb
parente5d2304802a63304a54cff010209c4a717a2509f
aoe: Fix OOPS after SKB queue changes.

Reported by Thomas Graf.

If we don't unlink the SKB from the queue when we send it
out in aoenet_xmit(), dev_hard_start_xmit() will see skb->next
as non-NULL and interpret this to mean the SKB is part of a
GSO segment list.

Add __skb_unlink() call to fix that.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/aoe/aoenet.c