[libvirt] Fix -Werror build error regarding to '#ifdef IFF_VNET_HDR'

Maximilian Wilhelm max at rfc2324.org
Thu Jul 30 14:15:01 UTC 2009


Hi!

Our build bot found a build error when building libVirt with -Werror
introduced in
  b4f62abbf1191c8fbab3306b4bf2f2567e18067f
  kvm/virtio: Set IFF_VNET_HDR when setting up tap fds

The attached patch kind of fixes the build error but I'm not sure, if
this is the final solution for this problem, though...

Ciao
Max
-- 
The real problem with C++ for kernel modules is:
the language just sucks.
-- Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IFF_VNET_HDR.patch
Type: text/x-diff
Size: 652 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090730/85b0c22e/attachment-0001.bin>


More information about the libvir-list mailing list