diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ip_output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index fd99fbd685ea..480469b92aa7 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -1172,6 +1172,8 @@ ssize_t ip_append_page(struct sock *sk, struct page *page, | |||
1172 | 1172 | ||
1173 | skb->len += len; | 1173 | skb->len += len; |
1174 | skb->data_len += len; | 1174 | skb->data_len += len; |
1175 | skb->truesize += len; | ||
1176 | atomic_add(len, &sk->sk_wmem_alloc); | ||
1175 | offset += len; | 1177 | offset += len; |
1176 | size -= len; | 1178 | size -= len; |
1177 | } | 1179 | } |