tls: rx: wrap decryption arguments in a structure
[ Upstream commit 4175eac3 ] We pass zc as a pointer to bool a few functions down as an in/out argument. This is error prone since C will happily evalue a pointer as a boolean (IOW forgetting *zc and writing zc leads to loss of developer time..). Wrap the arguments into a structure. Signed-off-by:Jakub Kicinski <kuba@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: f7fa16d4 ("tls: decrement decrypt_pending if no async completion will be called") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment