[XFRM]: Respect priority in policy lookups.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 25 Aug 2006 22:46:46 +0000 (15:46 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:05 +0000 (15:18 -0700)
Even if we find an exact match in the hash table,
we must inspect the inexact list to look for a match
with a better priority.

Noticed by Masahide NAKAMURA <nakam@linux-ipv6.org>.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

Simple merge