aboutsummaryrefslogtreecommitdiff
path: root/kernel/itimer.c
diff options
context:
space:
mode:
authorJoy Latten <latten@austin.ibm.com>2007-03-12 17:14:07 -0700
committerDavid S. Miller <davem@davemloft.net>2007-03-12 17:14:07 -0700
commit75e252d981c0e80c14ce90df246e9b1300474c4f (patch)
tree668f2df92fb85e17574a1fbdf34062539eff69d7 /kernel/itimer.c
parentce0ecd594d78710422599918a608e96dd1ee6024 (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>
Diffstat (limited to 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions