aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-10-14 06:47:57 -0700
committerDavid S. Miller <davem@davemloft.net>2019-10-15 20:13:33 -0700
commitcab209e571a9375f7dc6db69a6c40d2d98e57e3b (patch)
tree0a02520a515cd2b22e5fe2e0f2b178b28cb8e31f /drivers/net/dsa
parentMerge branch 'Update-MT7629-to-support-PHYLINK-API' (diff)
downloadlinux-dev-cab209e571a9375f7dc6db69a6c40d2d98e57e3b.tar.xz
linux-dev-cab209e571a9375f7dc6db69a6c40d2d98e57e3b.zip
tcp: fix a possible lockdep splat in tcp_done()
syzbot found that if __inet_inherit_port() returns an error, we call tcp_done() after inet_csk_prepare_forced_close(), meaning the socket lock is no longer held. We might fix this in a different way in net-next, but for 5.4 it seems safer to relax the lockdep check. Fixes: d983ea6f16b8 ("tcp: add rcu protection around tp->fastopen_rsk") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions