From: David S. Miller Date: Fri, 13 Mar 2009 21:22:40 +0000 (-0700) Subject: xfrm: Fix xfrm_state_find() wrt. wildcard source address. X-Git-Tag: v2.6.29~34^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ec9af1c0622b0858099a8644a33af02dd3019f;p=pandora-kernel.git xfrm: Fix xfrm_state_find() wrt. wildcard source address. The change to make xfrm_state objects hash on source address broke the case where such source addresses are wildcarded. Fix this by doing a two phase lookup, first with fully specified source address, next using saddr wildcarded. Reported-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed