skbuff.c (289733ed456f7c1cbdb1f1ca58312f77c239953b) skbuff.c (047fe3605235888f3ebcda0c728cb31937eadfe6)
1/*
2 * Routines having to do with the 'struct sk_buff' memory handlers.
3 *
4 * Authors: Alan Cox <alan@lxorguk.ukuu.org.uk>
5 * Florian La Roche <rzsfl@rz.uni-sb.de>
6 *
7 * Fixes:
8 * Alan Cox : Fixed the worst of the load

--- 1741 unchanged lines hidden (view full) ---

1750 struct pipe_inode_info *pipe, unsigned int tlen,
1751 unsigned int flags)
1752{
1753 struct partial_page partial[MAX_SKB_FRAGS];
1754 struct page *pages[MAX_SKB_FRAGS];
1755 struct splice_pipe_desc spd = {
1756 .pages = pages,
1757 .partial = partial,
1/*
2 * Routines having to do with the 'struct sk_buff' memory handlers.
3 *
4 * Authors: Alan Cox <alan@lxorguk.ukuu.org.uk>
5 * Florian La Roche <rzsfl@rz.uni-sb.de>
6 *
7 * Fixes:
8 * Alan Cox : Fixed the worst of the load

--- 1741 unchanged lines hidden (view full) ---

1750 struct pipe_inode_info *pipe, unsigned int tlen,
1751 unsigned int flags)
1752{
1753 struct partial_page partial[MAX_SKB_FRAGS];
1754 struct page *pages[MAX_SKB_FRAGS];
1755 struct splice_pipe_desc spd = {
1756 .pages = pages,
1757 .partial = partial,
1758 .nr_pages_max = MAX_SKB_FRAGS,
1758 .flags = flags,
1759 .ops = &sock_pipe_buf_ops,
1760 .spd_release = sock_spd_release,
1761 };
1762 struct sk_buff *frag_iter;
1763 struct sock *sk = skb->sk;
1764 int ret = 0;
1765

--- 1669 unchanged lines hidden ---
1759 .flags = flags,
1760 .ops = &sock_pipe_buf_ops,
1761 .spd_release = sock_spd_release,
1762 };
1763 struct sk_buff *frag_iter;
1764 struct sock *sk = skb->sk;
1765 int ret = 0;
1766

--- 1669 unchanged lines hidden ---