aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index cc9d5bcb06f7..4bb1ff9fd15b 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -867,7 +867,6 @@ static inline void sk_mem_uncharge(struct sock *sk, int size)
867 867
868static inline void sk_wmem_free_skb(struct sock *sk, struct sk_buff *skb) 868static inline void sk_wmem_free_skb(struct sock *sk, struct sk_buff *skb)
869{ 869{
870 skb_truesize_check(skb);
871 sock_set_flag(sk, SOCK_QUEUE_SHRUNK); 870 sock_set_flag(sk, SOCK_QUEUE_SHRUNK);
872 sk->sk_wmem_queued -= skb->truesize; 871 sk->sk_wmem_queued -= skb->truesize;
873 sk_mem_uncharge(sk, skb->truesize); 872 sk_mem_uncharge(sk, skb->truesize);