]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: Fix another crash in ip_nat_pptp
authorPatrick McHardy <kaber@trash.net>
Tue, 10 Jan 2006 00:44:00 +0000 (16:44 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 10 Jan 2006 20:54:32 +0000 (12:54 -0800)
commitc1bc14db55c614cc8a722e33233f83f597ef19d0
tree401e94d15d3f28a759ce716b8b5a742f5d32a520
parent913e87d9434062d67126cd22cf88748ac53bb372
[NETFILTER]: Fix another crash in ip_nat_pptp

The PPTP NAT helper calculates the offset at which the packet needs
to be mangled as difference between two pointers to the header. With
non-linear skbs however the pointers may point to two seperate buffers
on the stack and the calculation results in a wrong offset beeing
used.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_nat_helper_pptp.c