summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-11-19 00:40:41 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-19 16:37:03 +0100
commitdb60eb5f6506cbfb437cf51be050368e6577a848 (patch)
tree5d64ea849e655fd6a04e6e30619c08b8c0382567 /tools/virtio
parentvirtio_net: Do not clear memory for struct virtio_net_hdr twice. (diff)
downloadlinux-db60eb5f6506cbfb437cf51be050368e6577a848.tar.xz
linux-db60eb5f6506cbfb437cf51be050368e6577a848.zip
af_packet: Use virtio_net_hdr_to_skb().
Use the common virtio_net_hdr_to_skb() instead of open coding it. Other call sites were changed by commit fd2a0437dc, but this one was missed, maybe because it is split in two parts of the source code. Interim comparisons of 'vnet_hdr->gso_type' still work as both the vnet_hdr and skb notion of gso_type is zero when there is no gso. Fixes: fd2a0437dc ("virtio_net: introduce virtio_net_hdr_{from,to}_skb") Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions