]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_TCPMSS: correct return value in tcpmss_mangle_packet
authorPhil Oester <kernel@linuxace.com>
Sun, 1 Sep 2013 15:32:21 +0000 (08:32 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Sep 2013 12:20:03 +0000 (14:20 +0200)
commitbb1a97416373c44e195027202fc5f4bfed1f8031
treee96e66610480f9bde16d07ed6128dce60b33d7ca
parent58ebb0e3ffb37f49d62c6cb3dfdf7ecd629c7d26
netfilter: xt_TCPMSS: correct return value in tcpmss_mangle_packet

In commit 5a8c83bd5 (netfilter: xt_TCPMSS: Fix missing fragmentation handling),
I attempted to add safe fragment handling to xt_TCPMSS.  However, Andy Padavan
of Project N56U correctly points out that returning XT_CONTINUE in this
function does not work.  The callers (tcpmss_tg[46]) expect to receive a value
of 0 in order to return XT_CONTINUE.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_TCPMSS.c