]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlx5: Return -EINVAL when WARN_ON_ONCE triggers in mlx5e_tls_resync().
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Jul 2019 04:35:08 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jul 2019 04:35:08 +0000 (21:35 -0700)
commitcacf32e99788e91a3eaefafb0976deadf84f37d5
tree6ba6a7ca224af760fffa8e0a4eb97a4351638fac
parent08cc83cc7fd8e6c3670ff545ef2bbfbc01a02d87
mlx5: Return -EINVAL when WARN_ON_ONCE triggers in mlx5e_tls_resync().

Return value was changes to 'int' from void but this return statement
was not updated, or it slipped in via a merge.

Fixes: b5d9a834f4fd ("net/tls: don't clear TX resync flag on error")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c