• Ian Pratt's avatar
    [NET]: Add alloc_skb_from_cache. · 8f78d753
    Ian Pratt authored
    This serves two purposes: firstly, we like to allocate page-sized skbs
    as this means we zero-copy transfer of network buffers between guest
    operating systems. Secondly, it enables us to have a cache of pages
    that have been used for network buffers that we can be more lax about
    scrubbing when they change VM ownership (since they could be sniffed on
    the wire).
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8f78d753
skbuff.c 36.4 KB