]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: stop probing for IFF_VNET_HDR
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 24 Sep 2020 09:27:03 +0000 (10:27 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 24 Sep 2020 11:09:20 +0000 (12:09 +0100)
commit5e6d02e0f289193fcd35ea062ec9e02c8bbe08f4
tree301f5a7642b79077dca24147de3563f790b5cc71
parentfcdc387410fadfb066b95395c5b5d2a6a16f7066
util: stop probing for IFF_VNET_HDR

This flag was added by Linux with:

  commit f43798c27684ab925adde7d8acc34c78c6e50df8
  Author: Rusty Russell <rusty@rustcorp.com.au>
  Date:   Thu Jul 3 03:48:02 2008 -0700

    tun: Allow GSO using virtio_net_hdr

so we can assume all Linux distros we support have this flag available
and thus the compile time check is sufficient.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/virnetdevtap.c