diff options
author | 2016-02-03 18:02:14 -0500 | |
---|---|---|
committer | 2016-02-09 06:43:50 -0500 | |
commit | 16cc1400456a4d5d6df9f5e7f1b2c7cb8c50404b (patch) | |
tree | 50bc54692d82a05713077b7bd626f792122daf80 /net/batman-adv/network-coding.c | |
parent | bonding: 3ad: apply ad_actor settings changes immediately (diff) | |
download | wireguard-linux-16cc1400456a4d5d6df9f5e7f1b2c7cb8c50404b.tar.xz wireguard-linux-16cc1400456a4d5d6df9f5e7f1b2c7cb8c50404b.zip |
packet: move vnet_hdr code to helper functions
packet_snd and packet_rcv support virtio net headers for GSO.
Move this logic into helper functions to be able to reuse it in
tpacket_snd and tpacket_rcv.
This is a straighforward code move with one exception. Instead of
creating and passing a separate gso_type variable, reuse
vnet_hdr.gso_type after conversion from virtio to kernel gso type.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/network-coding.c')
0 files changed, 0 insertions, 0 deletions