]> err.no Git - linux-2.6/commit
[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)
commitacba48e1a3c95082af1e12c5efaaca3506103a92
treea6c001ca19cfb67427aaec822952c32bb0916568
parent65e3d72654d9a33cdccd5c19777a5515ae9dd37d
[XFRM]: Respect priority in policy lookups.

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