mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
NvEthernet: macsec: Fix the nla policy issue
Issue: IOCTLs from supplicanta pplication are not reaching Nvidia Ethernet driver in kernel 6.1 Fix: Filled the correct policy while registering with netlink. Added Cipher Suite attribute to genl macsec policy Ported from - https://git-master.nvidia.com/r/c/nvethernet-docs/+/3126784 Bug 4316709 Change-Id: I7d0b86d14b1d5bb9aff34b79d635bfccd7443ebf
This commit is contained in:
committed by
Bhadram Varka
parent
6bc9570126
commit
96d89392f0
@@ -163,6 +163,7 @@ static const struct nla_policy nv_macsec_genl_policy[NUM_NV_MACSEC_ATTR] = {
|
||||
[NV_MACSEC_ATTR_TXSC_PORT] = { .type = NLA_U16 },
|
||||
[NV_MACSEC_ATTR_REPLAY_PROT_EN] = { .type = NLA_U32 },
|
||||
[NV_MACSEC_ATTR_REPLAY_WINDOW] = { .type = NLA_U32 },
|
||||
[NV_MACSEC_ATTR_CIPHER_SUITE] = { .type = NLA_U32 },
|
||||
[NV_MACSEC_ATTR_SA_CONFIG] = { .type = NLA_NESTED },
|
||||
[NV_MACSEC_ATTR_TZ_CONFIG] = { .type = NLA_NESTED },
|
||||
[NV_MACSEC_ATTR_TZ_KT_RESET] = { .type = NLA_NESTED },
|
||||
|
||||
Reference in New Issue
Block a user