• Ian Campbell's avatar
    xen: netback: convert to SKB paged frag API. · ea066ad1
    Ian Campbell authored
    netback currently uses frag->page to store a temporary index reference while
    processing incoming requests. Since frag->page is to become opaque switch
    instead to using page_offset. Add a wrapper to tidy this up and propagate the
    fact that the indexes are only u16 through the code (this was already true in
    practice but unsigned long and in were inconsistently used as variable and
    parameter types)
    Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
    Cc: Ian Campbell <ian.campbell@citrix.com>
    Cc: xen-devel@lists.xensource.com
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ea066ad1
netback.c 43.6 KB