Home
last modified time | relevance | path

Searched hist:af9b4738574b46025de7ccbe75c7b24fd8914379 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/ipv6/
H A Dsyncookies.cdiff af9b4738574b46025de7ccbe75c7b24fd8914379 Wed Jun 02 19:43:44 CDT 2010 Florian Westphal <fw@strlen.de> syncookies: avoid unneeded tcp header flag double check

caller: if (!th->rst && !th->syn && th->ack)
callee: if (!th->ack)

make the caller only check for !syn (common for 3whs), and move
the !rst / ack test to the callee.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_ipv6.cdiff af9b4738574b46025de7ccbe75c7b24fd8914379 Wed Jun 02 19:43:44 CDT 2010 Florian Westphal <fw@strlen.de> syncookies: avoid unneeded tcp header flag double check

caller: if (!th->rst && !th->syn && th->ack)
callee: if (!th->ack)

make the caller only check for !syn (common for 3whs), and move
the !rst / ack test to the callee.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ipv4/
H A Dsyncookies.cdiff af9b4738574b46025de7ccbe75c7b24fd8914379 Wed Jun 02 19:43:44 CDT 2010 Florian Westphal <fw@strlen.de> syncookies: avoid unneeded tcp header flag double check

caller: if (!th->rst && !th->syn && th->ack)
callee: if (!th->ack)

make the caller only check for !syn (common for 3whs), and move
the !rst / ack test to the callee.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_ipv4.cdiff af9b4738574b46025de7ccbe75c7b24fd8914379 Wed Jun 02 19:43:44 CDT 2010 Florian Westphal <fw@strlen.de> syncookies: avoid unneeded tcp header flag double check

caller: if (!th->rst && !th->syn && th->ack)
callee: if (!th->ack)

make the caller only check for !syn (common for 3whs), and move
the !rst / ack test to the callee.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>