chelsio/chtls: correct netdevice for vlan interface
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Mon, 19 Oct 2020 11:50:21 +0000 (17:20 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Oct 2020 00:29:16 +0000 (17:29 -0700)
commit81519d1f7df7ed1bd5b1397540c8884438f57ae2
treea8fe47927a0f95f0cbfb8c68bdae9f23b92638d0
parent0fb5f0160a36d7acaa8e84ce873af99f94b60484
chelsio/chtls: correct netdevice for vlan interface

Check if netdevice is a vlan interface and find real vlan netdevice.

Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition")
Signed-off-by: Venkatesh Ellapu <venkatesh.e@chelsio.com>
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c