diff options
author | Patrick McHardy <kaber@trash.net> | 2005-04-25 03:42:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-25 03:42:39 +0200 |
commit | 3b2d59d1fc86cc7217f165100a939907802dc67c (patch) | |
tree | 469883c37bf5fc6beea10530c4c557d8bb022cad | |
parent | [NETFILTER]: Fix NAT sequence number adjustment (diff) | |
download | linux-3b2d59d1fc86cc7217f165100a939907802dc67c.tar.xz linux-3b2d59d1fc86cc7217f165100a939907802dc67c.zip |
[NETFILTER]: Ignore PSH on SYN/ACK in TCP connection tracking
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_tcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c index e800b16fc920..2b87c1974be6 100644 --- a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c +++ b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c @@ -770,6 +770,7 @@ static u8 tcp_valid_flags[(TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG) + 1] = { [TH_SYN] = 1, [TH_SYN|TH_ACK] = 1, + [TH_SYN|TH_ACK|TH_PUSH] = 1, [TH_RST] = 1, [TH_RST|TH_ACK] = 1, [TH_RST|TH_ACK|TH_PUSH] = 1, |