diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2011-07-14 05:16:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 17:49:44 +0200 |
commit | f127f4727f3f60359570b6daa136ac1156e38fbf (patch) | |
tree | 068e73d445ce8b5fc798701a8e48b2d3b3973f5d /drivers/net/qlcnic/qlcnic_init.c | |
parent | qlcnic: enable mac-learning in promiscous mode. (diff) | |
download | linux-f127f4727f3f60359570b6daa136ac1156e38fbf.tar.xz linux-f127f4727f3f60359570b6daa136ac1156e38fbf.zip |
qlcnic: fix race in skb->len access.
As soon as skb is given to hardware, TX completion can free skb under us.
Therefore, we should update dev stats before kicking the device.
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions