From: Florian Westphal Date: Thu, 3 Jun 2010 00:43:44 +0000 (+0000) Subject: syncookies: avoid unneeded tcp header flag double check X-Git-Tag: v2.6.36-rc1~571^2~653 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af9b4738574b46025de7ccbe75c7b24fd8914379;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed