]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72571c9d33da55290f320436f663c105877d6136
tree43e62bc10c7584ed69b6ef78bfb61fb48e5470c0
parent2b7bb13bd4c9bbb84744885bd7e0f1d376b06454
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: 1c26a27723c1 ("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