From: Vakul Garg <vakul.g...@nxp.com> Date: Fri, 21 Dec 2018 17:41:47 +0000
> The variable 'ret' is already set to the return value of > tls_clone_plaintext_msg(). In case try_to_copy != 0, the value of > 'ret' is overwritten with return value of > sk_msg_memcopy_from_iter(). In case try_to_copy == 0, the value of > 'ret' remains same as the one set to return value of > tls_clone_plaintext_msg(). Subsequently, 'if (full_record || eor)' > does not fufill, we continue and do not read 'ret'. If 'if > (full_record || eor)' evaluates true, value of ret is overwritten by > return value of bpf_exec_tx_verdict(). So I do not find the > problem. > > Kindly advise if I am missing your point. Indeed you are right. Applied to 'net' with the Fixes: tag location adjusted. Thanks.