]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/esp4.c
Merge branch 'x86/mce' into x86/urgent
[~andy/linux] / net / ipv4 / esp4.c
index 12f7287e902dcac7614cfb8375c1788e15e006cc..1948895beb6d137c3fb45058c66a96315dc618a0 100644 (file)
@@ -530,7 +530,7 @@ static int esp_init_authenc(struct xfrm_state *x)
                }
 
                err = crypto_aead_setauthsize(
-                       aead, aalg_desc->uinfo.auth.icv_truncbits / 8);
+                       aead, x->aalg->alg_trunc_len / 8);
                if (err)
                        goto free_key;
        }