tcp: Use NET_ADD_STATS instead of NET_ADD_STATS_BH in tcp_event_new_data_sent()
authorDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 20:03:17 +0000 (15:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 20:19:43 +0000 (15:19 -0500)
commitf7324acd98ce48fcde9783884ffe8c0b90899e5e
tree634889d26e000f0f1ca97fc784adb1b13c40e883
parent072256d1f2b8ba0bbb265d590c703f3d57a39d6a
tcp: Use NET_ADD_STATS instead of NET_ADD_STATS_BH in tcp_event_new_data_sent()

Can be invoked from non-BH context.

Based upon a patch by Eric Dumazet.

Fixes: f19c29e3e391 ("tcp: snmp stats for Fast Open, SYN rtx, and data pkts")
Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/tcp_output.c
This page took 0.03093 seconds and 5 git commands to generate.