Unverified Commit 828b7a33 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 8b18281a dffed1ae
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ static void nr_heartbeat_expiry(struct timer_list *t)
		   is accepted() it isn't 'dead' so doesn't get removed. */
		if (sock_flag(sk, SOCK_DESTROY) ||
		    (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) {
			if (sk->sk_state == TCP_LISTEN)
				sock_hold(sk);
			bh_unlock_sock(sk);
			nr_destroy_socket(sk);