summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
Diffstat (limited to 'net/core')
-rw-r--r--net/core/datagram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/datagram.c b/net/core/datagram.c
index bec08672644a..a8a795cfeff5 100644
--- a/net/core/datagram.c
+++ b/net/core/datagram.c
@@ -653,7 +653,6 @@ int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *from,
int off = base & ~PAGE_MASK;
int size = min_t(int, len, PAGE_SIZE - off);
skb_fill_page_desc(skb, i, page[i], off, size);
- /* increase sk_wmem_alloc */
base += size;
len -= size;
i++;
OpenPOWER on IntegriCloud