Skip to content
Snippets Groups Projects
Commit fd2a0437 authored by Mike Rapoport's avatar Mike Rapoport Committed by David S. Miller
Browse files

virtio_net: introduce virtio_net_hdr_{from,to}_skb


The code for conversion between virtio_net_hdr and skb GSO info is
duplicated at several places. Let's put it to a common place to allow
reuse.

Signed-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 678ece30
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment