diff --git a/include/net/sock.h b/include/net/sock.h index 87b424ae750a96c08913a7ab183e68c52975afc6..21086036e348dce616d6ff4933077c4aca8035fa 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -2154,7 +2154,7 @@ static inline void sk_change_net(struct sock *sk, struct net *net) static inline struct sock *skb_steal_sock(struct sk_buff *skb) { - if (unlikely(skb->sk)) { + if (skb->sk) { struct sock *sk = skb->sk; skb->destructor = NULL;