]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: wrong hash value for temporary SA
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 27 Apr 2009 09:58:59 +0000 (02:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 09:58:59 +0000 (02:58 -0700)
commitb223868edd1639f775bbe34eb26fa4113c3bdd2d
treea1bc0c5f7625dfc71e777dba2ebb546df820be02
parentc69c13368d9fd184fe7021d5e7df3e4d34d47d91
xfrm: wrong hash value for temporary SA

When kernel inserts a temporary SA for IKE, it uses the wrong hash
value for dst list. Two hash values were calcultated before: one with
source address and one with a wildcard source address.

Bug hinted by Junwei Zhang <junwei.zhang@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c