aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorAng Way Chuang <wcang@nav6.org>2008-06-17 21:10:33 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-17 21:10:33 -0700
commitf09f7ee20c867818bacf79426cf491b2749e7eff (patch)
treec570f7385827241c45dae25611759b0909ede9ce /net/unix
parentfe833fca2eac6b3d3ad5e35f44ad4638362f1da8 (diff)
tun: Proper handling of IPv6 header in tun driver when TUN_NO_PI is set
By default, tun.c running in TUN_TUN_DEV mode will set the protocol of packet to IPv4 if TUN_NO_PI is set. My program failed to work when I assumed that the driver will check the first nibble of packet, determine IP version and set the appropriate protocol. Signed-off-by: Ang Way Chuang <wcang@nav6.org> Acked-by: Max Krasnyansky <maxk@qualcomm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions