]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Except bond interface from some TLS checks
authorTariq Toukan <tariqt@nvidia.com>
Sun, 17 Jan 2021 14:59:49 +0000 (16:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 04:48:40 +0000 (20:48 -0800)
commitb03a1615215ececf075b33a747e78d3b9042663f
treed215ce09f3dbc4acee980c505d697cb709af9a8f
parent649c45591c8842056cf7697f714423d9306b483b
net/tls: Except bond interface from some TLS checks

In the tls_dev_event handler, ignore tlsdev_ops requirement for bond
interfaces, they do not exist as the interaction is done directly with
the lower device.

Also, make the validate function pass when it's called with the upper
bond interface.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Boris Pismenny <borisp@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_device.c
net/tls/tls_device_fallback.c