]> err.no Git - linux-2.6/commit
[NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT
authorHarald Welte <laforge@netfilter.org>
Thu, 3 Nov 2005 12:05:20 +0000 (13:05 +0100)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sat, 5 Nov 2005 01:19:17 +0000 (23:19 -0200)
commitd811552eda2476215d69d485e437d2dcae1ab0b4
treeeb745550f1d2e40dafc71d95c20ec3e46ce9fdda
parent3428c209c6820bbbb7dfb323caef8d402b3deb4c
[NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT

This endianness bug slipped through while changing the 'gre.key' field in the
conntrack tuple from 32bit to 16bit.

None of my tests caught the problem, since the linux pptp client always has
'0' as call id / gre key.  Only windows clients actually trigger the bug.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/netfilter/ip_nat_proto_gre.c