]> 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)
commit01257f8726876a8efda61bef97392360b35452e0
treed215ce09f3dbc4acee980c505d697cb709af9a8f
parentfbd7fc6de79ae18fee86268fb4778f4619ae31ee
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