]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6a783c9067e3f71aac61a9262fe42c1f68efd4fc
treea1bc0c5f7625dfc71e777dba2ebb546df820be02
parent8f955d7f042e4ac44891a400d5000928f8db9f58
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