]> err.no Git - linux-2.6/blobdiff - net/xfrm/xfrm_user.c
[IPSEC]: Add compatibility algorithm name support
[linux-2.6] / net / xfrm / xfrm_user.c
index 7d18ca03c80d385a24da56cd1599e74755ca1384..fa79ddc4239e071c2d524c76285631c26005e65e 100644 (file)
@@ -213,6 +213,7 @@ static int attach_one_algo(struct xfrm_algo **algpp, u8 *props,
                return -ENOMEM;
 
        memcpy(p, ualg, len);
+       strcpy(p->alg_name, algo->name);
        *algpp = p;
        return 0;
 }