]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11a040d4f483b53c77c9fd9a8b2aec33d4ce603d
tree634889d26e000f0f1ca97fc784adb1b13c40e883
parentc7d193f54c4124ec24a7f7e30447954c3b0b0fa9
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: 1f583fa70aff ("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