]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp: must block bh in __inet_twsk_hashdance()
authorEric Dumazet <edumazet@google.com>
Wed, 4 May 2016 00:10:50 +0000 (17:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 20:55:11 +0000 (16:55 -0400)
commit614bdd4d6e61d260d82945f5f52a5dc288f64783
treec60425de6b6c599cba869c57fd938080d4e56581
parent46cc6e4976e3d9058490f20d93bc7805f7f2d81e
tcp: must block bh in __inet_twsk_hashdance()

__inet_twsk_hashdance() might be called from process context,
better block BH before acquiring bind hash and established locks

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_timewait_sock.c