commit | 08ec9af1c0622b0858099a8644a33af02dd3019f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri Mar 13 14:22:40 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 13 14:22:40 2009 -0700 |
tree | 1aa7a5ff6de043d6b87b023835f0494570369f10 | |
parent | 9616a75505be9b87f9625c4d87d8b07a45ddad4d [diff] |
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 <nicolas.dichtel@dev.6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>