linux-stable/drivers/net/ethernet/aquantia/atlantic
Antoine Tenart d67fb4772d net: atlantic: fix the macsec key length
The key length used to store the macsec key was set to MACSEC_KEYID_LEN
(16), which is an issue as:
- This was never meant to be the key length.
- The key length can be > 16.

Fix this by using MACSEC_MAX_KEY_LEN instead (the max length accepted in
uAPI).

Fixes: 27736563ce ("net: atlantic: MACSec egress offload implementation")
Fixes: 9ff40a751a ("net: atlantic: MACSec ingress offload implementation")
Reported-by: Lior Nahmanson <liorna@nvidia.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-24 12:41:13 -07:00
..
hw_atl net: atlantic: implement media detect feature via phy tunables 2020-10-06 06:16:01 -07:00
hw_atl2 net: atlantic: implement phy downshift feature 2020-10-06 06:16:01 -07:00
macsec
aq_cfg.h
aq_common.h
aq_drvinfo.c
aq_drvinfo.h
aq_ethtool.c net: atlantic: implement media detect feature via phy tunables 2020-10-06 06:16:01 -07:00
aq_ethtool.h
aq_filters.c
aq_filters.h
aq_hw.h net: atlantic: implement media detect feature via phy tunables 2020-10-06 06:16:01 -07:00
aq_hw_utils.c
aq_hw_utils.h
aq_macsec.c
aq_macsec.h net: atlantic: fix the macsec key length 2021-06-24 12:41:13 -07:00
aq_main.c net: ethernet: aquantia: Handle error cleanup of start on open 2021-02-11 14:38:06 -08:00
aq_main.h
aq_nic.c net: atlantic: Remove unnecessary conversion to bool 2020-11-10 15:24:49 -08:00
aq_nic.h net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
aq_pci_func.c
aq_pci_func.h
aq_phy.c
aq_phy.h
aq_ptp.c
aq_ptp.h
aq_ring.c aquantia: Remove the build_skb path 2020-11-24 10:59:17 -08:00
aq_ring.h
aq_rss.h
aq_utils.h
aq_vec.c
aq_vec.h
Makefile