diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-19 13:23:19 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:19:43 -0700 |
commit | c55e2f4997a104d66b59bdf1aa8ab125d09ae00a (patch) | |
tree | 51c92b1085e5a3067a14386c0b449ac33036bb7a /net/ipv4/netfilter/ip_nat_rule.c | |
parent | 593f16aa627d61da447c76ee5a159450174627f6 (diff) |
[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 <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ip_nat_rule.c')
0 files changed, 0 insertions, 0 deletions