aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <[email protected]>2014-08-13 07:34:56 +0000
committerDavid S. Miller <[email protected]>2014-08-14 03:04:47 +0000
commit7b31b4deda7679120379c005df8d3d647161eff7 (patch)
tree8596d1e8d49180a1e68eac5749e21768626a65e2 /net/ipv4/tcp_output.c
parentsunvnet: Schedule maybe_tx_wakeup() as a tasklet from ldc_rx path (diff)
downloadkernel-7b31b4deda7679120379c005df8d3d647161eff7.tar.gz
kernel-7b31b4deda7679120379c005df8d3d647161eff7.zip
tg3: fix return value in tg3_get_stats64
When tp->hw_stats is 0, tg3_get_stats64 should display previously recorded stats. So it returns &tp->net_stats_prev. But the caller, dev_get_stats, ignores the return value. Fix this by assigning tp->net_stats_prev to stats and returning stats. Signed-off-by: Govindarajulu Varadarajan <[email protected]> Acked-by: Prashant Sreedharan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions