diff options
author | Jorge Boncompte <jorge@dti2.net> | 2007-05-03 03:14:27 +0200 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-06-11 11:37:09 -0700 |
commit | 26bba2674d09ceccc41bc34c4831fdaaa2ba5f66 (patch) | |
tree | 4ed93eefab7d9ba347eff02ec50d60abe726b6d6 /drivers | |
parent | 90ac7887638743b9d204d22fcef8c7db5e2f55a0 (diff) |
[PATCH] {ip, nf}_nat_proto_gre: do not modify/corrupt GREv0 packets through NAT
While porting some changes of the 2.6.21-rc7 pptp/proto_gre conntrack
and nat modules to a 2.4.32 kernel I noticed that the gre_key function
returns a wrong pointer to the GRE key of a version 0 packet thus
corrupting the packet payload.
The intended behaviour for GREv0 packets is to act like
nf_conntrack_proto_generic/nf_nat_proto_unknown so I have ripped the
offending functions (not used anymore) and modified the
nf_nat_proto_gre modules to not touch version 0 (non PPTP) packets.
Signed-off-by: Jorge Boncompte <jorge@dti2.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions