Skip to content
Commit c20a66f4 authored by Martin Willi's avatar Martin Willi Committed by David S. Miller
Browse files

xfrm: Fix truncation length of authentication algorithms installed via PF_KEY

Commit 4447bb33

 ("xfrm: Store aalg in
xfrm_state with a user specified truncation length") breaks
installation of authentication algorithms via PF_KEY, as the state
specific truncation length is not installed with the algorithms
default truncation length.  This patch initializes state properly to
the default if installed via PF_KEY.

Signed-off-by: default avatarMartin Willi <martin@strongswan.org>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de039f02
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment