From: Al Viro Date: Tue, 19 Sep 2006 20:23:19 +0000 (-0700) Subject: [IPV4]: ipip and ip_gre encapsulation bugs X-Git-Tag: v2.6.19-rc1~1272^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c55e2f4997a104d66b59bdf1aa8ab125d09ae00a;p=pandora-kernel.git [IPV4]: ipip and ip_gre encapsulation bugs Handling of ipip and ip_gre ICMP error relaying is b0rken; it accesses 8bit field + 3 reserved octets as host-endian 32bit, does comparison, subtraction and stuffs the result back. That breaks on big-endian. Fixed, made endian-clean. [ Note that this effected code is permanently commented out with and ifdef, so this error couldn't actually cause problems for anyone. -DaveM ] Signed-off-by: Al Viro Signed-off-by: David S. Miller --- Reading git-diff-tree failed