summaryrefslogtreecommitdiff
path: root/net/ipv6/exthdrs.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-06-24 22:41:13 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-24 22:41:13 +0300
commitd9b6d26f6569d3ff748f6ba7a9ea3929abe5a17e (patch)
treec7466d702d0f11a6794c53e5dc986dd08ea4ad4f /net/ipv6/exthdrs.c
parentabe90454f0759d6e0b4b70b8b4ea9c5cd0ce8f93 (diff)
parentd67fb4772d9a6cfd10f1109f0e7b1e6eb58c8e16 (diff)
downloadlinux-d9b6d26f6569d3ff748f6ba7a9ea3929abe5a17e.tar.xz
Merge branch 'macsec-key-length'
Antoine Tenart says: ==================== net: macsec: fix key length when offloading The key length used to copy the key to offloading drivers and to store it is wrong and was working by chance as it matched the default key length. But using a different key length fails. Fix it by using instead the max length accepted in uAPI to store the key and the actual key length when copying it. This was tested on the MSCC PHY driver but not on the Atlantic MAC (looking at the code it looks ok, but testing would be appreciated). ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs.c')
0 files changed, 0 insertions, 0 deletions