Commit b9d6ea3c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] e100 use-after-free fix

I though Scott had recently merged this but it seems not.  We'll be
needing this patch if you merge Manfred's page unmapping debug patch.
parent 403d24bf
...@@ -1085,10 +1085,10 @@ e100_xmit_frame(struct sk_buff *skb, struct net_device *dev) ...@@ -1085,10 +1085,10 @@ e100_xmit_frame(struct sk_buff *skb, struct net_device *dev)
goto exit1; goto exit1;
} }
e100_prepare_xmit_buff(bdp, skb);
bdp->drv_stats.net_stats.tx_bytes += skb->len; bdp->drv_stats.net_stats.tx_bytes += skb->len;
e100_prepare_xmit_buff(bdp, skb);
dev->trans_start = jiffies; dev->trans_start = jiffies;
exit1: exit1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment