Files
ubports_kernel_google_msm/net
Al Viro 704eae1f32 ip6_tunnel - endianness annotations
Convert rel_info to host-endian before calling ip6_tnl_err().
The things become much more straightforward that way.
The key observation (and the reason why that code actually
worked) is that after ip6_tnl_err() we either immediately
bailed out or had rel_info set to 0 or had it set to host-endian
and guaranteed to hit
(rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED)
case.  So inconsistent endianness didn't really lead to bugs,
but it had been subtle and prone to breakage.  New variant is
saner and obviously safe.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-26 11:11:56 -07:00
..
2007-07-22 12:43:28 -07:00
2007-07-19 10:43:13 +09:00
2007-07-26 11:11:56 -07:00
2007-07-26 11:11:56 -07:00
2007-07-26 11:11:56 -07:00
2007-07-19 10:44:40 +09:00
2007-07-16 09:05:45 -07:00
2005-04-16 15:20:36 -07:00