diff options
| author | Ang Way Chuang <[email protected]> | 2008-06-18 04:10:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-06-18 04:10:33 +0000 |
| commit | f09f7ee20c867818bacf79426cf491b2749e7eff (patch) | |
| tree | c570f7385827241c45dae25611759b0909ede9ce /net/unix/af_unix.c | |
| parent | xfrm: fix fragmentation for ipv4 xfrm tunnel (diff) | |
| download | kernel-f09f7ee20c867818bacf79426cf491b2749e7eff.tar.gz kernel-f09f7ee20c867818bacf79426cf491b2749e7eff.zip | |
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 <[email protected]>
Acked-by: Max Krasnyansky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
