Re: [net] xfrm: cover crypto status in xfrm_input

2018-04-13 Thread Steffen Klassert
On Thu, Apr 12, 2018 at 12:03:15PM -0700, Jacek Kalwas wrote: > Status checking in xfrm_input doesn't cover CRYPTO_GENERIC_ERROR and > CRYPTO_INVALID_PACKET_SYNTAX. > > Given patch adds additional check for CRYPTO_INVALID_PACKET_SYNTAX and > treats CRYPTO_GENERIC_ERROR as status matching LINUX_MIB

[net] xfrm: cover crypto status in xfrm_input

2018-04-12 Thread Jacek Kalwas
Status checking in xfrm_input doesn't cover CRYPTO_GENERIC_ERROR and CRYPTO_INVALID_PACKET_SYNTAX. Given patch adds additional check for CRYPTO_INVALID_PACKET_SYNTAX and treats CRYPTO_GENERIC_ERROR as status matching LINUX_MIB_XFRMINERROR. Signed-off-by: Jacek Kalwas --- net/xfrm/xfrm_input.c |