xen-netfront: Avoid deref'ing skbafter it is potentially freed.
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 13 Aug 2007 19:54:37 +0000 (12:54 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 14 Aug 2007 05:51:09 +0000 (01:51 -0400)
commit10a273a67343e1f317652d69b09a212ee0284b44
tree2eff99de733e5f4c53de2acf40d62e719bcf1291
parenta6d89915aa668776494fec8568d46aa6043ff848
xen-netfront: Avoid deref'ing skbafter it is potentially freed.

xennet_tx_bug_gc can free the skb before we use it, so make sure we don't.

Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/xen-netfront.c