ipv4: tcp: ip_send_unicast_reply() is not BH safe
authorEric Dumazet <edumazet@google.com>
Fri, 6 May 2016 16:46:18 +0000 (09:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 May 2016 20:02:43 +0000 (16:02 -0400)
commit47dcc20a39d06585bf3cb9fb381f0e81c20002c3
tree43e62bc10c7584ed69b6ef78bfb61fb48e5470c0
parent4b307a8edb6b6f59b6f2bfe9f36fcec6e43ec911
ipv4: tcp: ip_send_unicast_reply() is not BH safe

I forgot that ip_send_unicast_reply() is not BH safe (yet).

Disabling preemption before calling it was not a good move.

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