Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53fa32e9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tcp: call sock_orphan() before freeing socket in tcp_nuke_addr"

parents aedb2867 3d78ff9d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3562,7 +3562,10 @@ restart:
			tcp_done(sk);
			bh_unlock_sock(sk);
			local_bh_enable();
			if (!sock_flag(sk, SOCK_DEAD)) {
				sock_orphan(sk);
				sock_put(sk);
			}

			goto restart;
		}