aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 35b3a685e34..8f0d68d1436 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -3166,7 +3166,7 @@ int sock_queue_err_skb(struct sock *sk, struct sk_buff *skb)
3166 int len = skb->len; 3166 int len = skb->len;
3167 3167
3168 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= 3168 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >=
3169 (unsigned)sk->sk_rcvbuf) 3169 (unsigned int)sk->sk_rcvbuf)
3170 return -ENOMEM; 3170 return -ENOMEM;
3171 3171
3172 skb_orphan(skb); 3172 skb_orphan(skb);