| commit | 6224b5ec3857d78e92bbc21075717eaa228ff891 | [log] [tgz] |
|---|---|---|
| author | Chia-chi Yeh <chiachi@android.com> | Mon Jun 13 15:26:51 2011 -0700 |
| committer | Chia-chi Yeh <chiachi@android.com> | Mon Jun 13 15:26:51 2011 -0700 |
| tree | 3486d738e0c87eee35b824a8e020a565eb54f96f | |
| parent | 3663227a8be5c6c05bf4adadc378fd69b7ae814c [diff] |
VPN: set IFF_NO_PI on TUN interface. Packet info header (struct tun_pi) was required to support IPv6 in kernel prior to 2.6.26. Setting IFF_NO_PI will remove the header from the packets sent/recieved via TUN file descriptor, so now they are just raw IP packets. Change-Id: I0b4ae9db23d3bc10995a00eb053527b499ad6eb6