[NETFILTER] {ip,nf}_conntrack TCP: Accept SYN+PUSH like SYN
authorVlad Drukker <vlad@storewiz.com>
Sat, 12 Nov 2005 20:13:14 +0000 (12:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Nov 2005 20:13:14 +0000 (12:13 -0800)
commita2d7222f0f5861ce13b9308c30bd18f28ebeb583
tree09d4dafe35b9cd4de344c4a8a63ef7d922466c2a
parentefacfbcb6c88677809f44a574fbcd9824835dccb
[NETFILTER] {ip,nf}_conntrack TCP: Accept SYN+PUSH like SYN

Some devices (e.g. Qlogic iSCSI HBA hardware like QLA4010 up to firmware
3.0.0.4) initiates TCP with SYN and PUSH flags set.

The Linux TCP/IP stack deals fine with that, but the connection tracking
code doesn't.

This patch alters TCP connection tracking to accept SYN+PUSH as a valid
flag combination.

Signed-off-by: Vlad Drukker <vlad@storewiz.com>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_tcp.c