Re: [PATCH net] ipv6: sr: fix passing wrong flags to crypto_alloc_shash()

2018-07-02 Thread David Miller
From: Eric Biggers Date: Sat, 30 Jun 2018 15:26:56 -0700 > From: Eric Biggers > > The 'mask' argument to crypto_alloc_shash() uses the CRYPTO_ALG_* flags, > not 'gfp_t'. So don't pass GFP_KERNEL to it. > > Fixes: bf355b8d2c30 ("ipv6: sr: add core files for SR HMAC support") > Signed-off-by: E

[PATCH net] ipv6: sr: fix passing wrong flags to crypto_alloc_shash()

2018-06-30 Thread Eric Biggers
From: Eric Biggers The 'mask' argument to crypto_alloc_shash() uses the CRYPTO_ALG_* flags, not 'gfp_t'. So don't pass GFP_KERNEL to it. Fixes: bf355b8d2c30 ("ipv6: sr: add core files for SR HMAC support") Signed-off-by: Eric Biggers --- net/ipv6/seg6_hmac.c | 2 +- 1 file changed, 1 insertio