Loading net/core/datagram.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -652,8 +652,7 @@ int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *from, while (len) { while (len) { int off = base & ~PAGE_MASK; int off = base & ~PAGE_MASK; int size = min_t(int, len, PAGE_SIZE - off); int size = min_t(int, len, PAGE_SIZE - off); __skb_fill_page_desc(skb, i, page[i], off, size); skb_fill_page_desc(skb, i, page[i], off, size); skb_shinfo(skb)->nr_frags++; /* increase sk_wmem_alloc */ /* increase sk_wmem_alloc */ base += size; base += size; len -= size; len -= size; Loading Loading
net/core/datagram.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -652,8 +652,7 @@ int zerocopy_sg_from_iovec(struct sk_buff *skb, const struct iovec *from, while (len) { while (len) { int off = base & ~PAGE_MASK; int off = base & ~PAGE_MASK; int size = min_t(int, len, PAGE_SIZE - off); int size = min_t(int, len, PAGE_SIZE - off); __skb_fill_page_desc(skb, i, page[i], off, size); skb_fill_page_desc(skb, i, page[i], off, size); skb_shinfo(skb)->nr_frags++; /* increase sk_wmem_alloc */ /* increase sk_wmem_alloc */ base += size; base += size; len -= size; len -= size; Loading