net/tls: Fix flipped sign in async_wait.err assignment
authorDaniel Jordan <daniel.m.jordan@oracle.com>
Wed, 27 Oct 2021 21:59:21 +0000 (17:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:41:20 +0000 (14:41 +0100)
commit1d9d6fd21ad4a28b16ed9ee5432ae738b9dc58aa
treefc48e0e1cc9684cba4f664ae9c865147563ffcbf
parentda353fac65fede6b8b4cfe207f0d9408e3121105
net/tls: Fix flipped sign in async_wait.err assignment

sk->sk_err contains a positive number, yet async_wait.err wants the
opposite.  Fix the missed sign flip, which Jakub caught by inspection.

Fixes: a42055e8d2c3 ("net/tls: Add support for async encryption of records for performance")
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c