summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoy Latten <latten@austin.ibm.com>2007-03-20 23:19:34 +0100
committerAdrian Bunk <bunk@stusta.de>2007-03-20 23:19:34 +0100
commitcf2c008865ae7d62d28e3d63f14935f19a4cb6f5 (patch)
treeb5142a9e87fdd48197e26262f2b28274e888ed8a /README
parent962e4f71337805ca0595d175ff9d4906b0911327 (diff)
[XFRM]: Fix missing protocol comparison of larval SAs.
I noticed that in xfrm_state_add we look for the larval SA in a few places without checking for protocol match. So when using both AH and ESP, whichever one gets added first, deletes the larval SA. It seems AH always gets added first and ESP is always the larval SA's protocol since the xfrm->tmpl has it first. Thus causing the additional km_query() Adding the check eliminates accidental double SA creation. Signed-off-by: Joy Latten <latten@austin.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions