diff options
author | david decotigny <david.decotigny@google.com> | 2011-11-17 10:38:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-18 08:08:47 +0100 |
commit | 505a467b66233fd08ac32fca943100130928bf89 (patch) | |
tree | 0f20460634939cfd8220ca99ec64c0941f3672c2 /net/ipv4/tcp_bic.c | |
parent | bnx2: switch to build_skb() infrastructure (diff) | |
download | linux-505a467b66233fd08ac32fca943100130928bf89.tar.xz linux-505a467b66233fd08ac32fca943100130928bf89.zip |
net-forcedeth: fix possible stats inaccuracies on 32b hosts
The software stats are updated from BH, this change ensures that 32b
UP hosts use appropriate protection.
Tested:
- HW/SW stats consistent with pktgen (in particular tx=rx)
- HW/SW stats consistent when tx/rx offloads disabled
- no problem with+without lockdep (SMP 16-way)
Signed-off-by: David Decotigny <david.decotigny@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_bic.c')
0 files changed, 0 insertions, 0 deletions