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)
commit777c6ae57ebd432b59950b3e28bf01676018d1b2
treedaa9fc5647e16767136233e80544b785727f1271
parentaa8a8b05adfc72e562abe7ae5c6933906e0ed2e9
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: c10d9310edf5 ("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