diff --git a/net/tipc/socket.c b/net/tipc/socket.c index d416e83ce069adcbeb332850cfed68aca3fdba94..75275c5cf9291a0afe0818b6ef99ccfc14db8822 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -2118,9 +2118,9 @@ static void tipc_sk_timeout(unsigned long ref) tsk = tipc_sk_get(ref); if (!tsk) - goto exit; - sk = &tsk->sk; + return; + sk = &tsk->sk; bh_lock_sock(sk); if (!tsk->connected) { bh_unlock_sock(sk);