Re: [PATCH net-next] tcp, ulp: remove socket lock assertion on ULP cleanup

2018-10-16 Thread David Miller
From: Daniel Borkmann Date: Tue, 16 Oct 2018 21:31:35 +0200 > Eric reported that syzkaller triggered a splat in tcp_cleanup_ulp() > where assertion sock_owned_by_me() failed. This happened through > inet_csk_prepare_forced_close() first releasing the socket lock, > then calling into tcp_done(news

[PATCH net-next] tcp, ulp: remove socket lock assertion on ULP cleanup

2018-10-16 Thread Daniel Borkmann
Eric reported that syzkaller triggered a splat in tcp_cleanup_ulp() where assertion sock_owned_by_me() failed. This happened through inet_csk_prepare_forced_close() first releasing the socket lock, then calling into tcp_done(newsk) which is called after the inet_csk_prepare_forced_close() and there