commit | 658924dc9ae2ca8e3c46f36306f5dbd501cf4688 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Sun Jun 19 12:43:33 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 19 16:28:02 2011 -0700 |
tree | a10de7dfe5bd02f963455559868d4574cb08724c | |
parent | 00ce2d5614a67521241d024c6e50afe3bd3df049 [diff] |
hp100: fix an skb->len race As soon as skb is given to hardware and spinlock released, TX completion can free skb under us. Therefore, we should update netdev stats before spinlock release. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>