]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: avoid using skb member after dev_queue_xmit
authorEd Cashin <ecashin@coraid.com>
Thu, 25 Oct 2012 01:15:21 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Oct 2012 05:50:02 +0000 (16:50 +1100)
commit18598bdf6a59b6eaba9fec46d98c2f4f235fd20d
tree906ffc8bea9c3fcff28f36d32d7a7c6ec69079de
parent87d6ddbc431657758bdebb159495cbc47b372865
aoe: avoid using skb member after dev_queue_xmit

After calling dev_queue_xmit it is no longer safe to access the
members of the skb.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoenet.c