commit | af9b4738574b46025de7ccbe75c7b24fd8914379 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu Jun 03 00:43:44 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 05 02:23:14 2010 -0700 |
tree | 6d05b82261ce76e6ecf00131c667292b62d16adf | |
parent | 2a1d4bd46047efff513600d7ff422bc344f540a6 [diff] |
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>