From: David Ahern <d...@cumulusnetworks.com> Date: Tue, 23 Aug 2016 21:05:27 -0700
> inet_diag_find_one_icsk takes a reference to a socket that is not > released if sock_diag_destroy returns an error. Fix by changing > tcp_diag_destroy to manage the refcnt for all cases and remove > the sock_put calls from tcp_abort. > > Fixes: c1e64e298b8ca ("net: diag: Support destroying TCP sockets") > Reported-by: Lorenzo Colitti <lore...@google.com> > Signed-off-by: David Ahern <d...@cumulusnetworks.com> Applied and queued up for -stable.