From: Florian Westphal Date: Sun, 13 Jun 2010 11:29:39 +0000 (+0000) Subject: ipv6: syncookies: do not skip ->iif initialization X-Git-Tag: v2.6.36-rc1~571^2~568 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bbdf389a9432270147c8e8e35b021ad61772f65;p=pandora-kernel.git ipv6: syncookies: do not skip ->iif initialization When syncookies are in effect, req->iif is left uninitialized. In case of e.g. link-local addresses the route lookup then fails and no syn-ack is sent. Rearrange things so ->iif is also initialized in the syncookie case. want_cookie can only be true when the isn was zero, thus move the want_cookie check into the "!isn" branch. Cc: Glenn Griffin Signed-off-by: Florian Westphal Signed-off-by: David S. Miller --- Reading git-diff-tree failed