]> Git Repo - qemu.git/commit - net/tap-linux.c
net: fix TAP networking on host kernels without IFF_VNET_HDR support
authorPierre Riteau <[email protected]>
Wed, 25 Nov 2009 18:49:34 +0000 (18:49 +0000)
committerAnthony Liguori <[email protected]>
Thu, 3 Dec 2009 15:41:35 +0000 (09:41 -0600)
commit6720b35b8186e9c6a9f137c02f8c2c1e7c98085f
tree78a91e27a7323fb3333833f348dd7d552fed775a
parent0f2fbf40a9d1f0ccdd86bd47f17fff24666f01d9
net: fix TAP networking on host kernels without IFF_VNET_HDR support

vnet_hdr is initialized at 1 by default. We need to reset it to 0 if
the kernel doesn't support IFF_VNET_HDR.

Signed-off-by: Pierre Riteau <[email protected]>
Signed-off-by: Mark McLoughlin <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
net/tap-linux.c
This page took 0.022684 seconds and 4 git commands to generate.