]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: two more missing bh disable
authorEric Dumazet <edumazet@google.com>
Wed, 4 May 2016 22:27:29 +0000 (15:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 May 2016 03:47:54 +0000 (23:47 -0400)
commit12e23fffc37bd35b438d6f0304e2547e60ba3765
treedaa9fc5647e16767136233e80544b785727f1271
parent49b5b0df1361f36a1e61771e680274d9be637d50
tcp: two more missing bh disable

percpu_counter only have protection against preemption.

TCP stack uses them possibly from BH, so we need BH protection
in contexts that could be run in process context

Fixes: 88b744dcd9a9 ("tcp: do not assume TCP code is non preemptible")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_ipv4.c