summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ltc4222.c
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2016-07-22 16:07:56 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-25 20:55:39 +0300
commit2ccbe2cb79f2f74ab739252299b6f9ff27586f2c (patch)
treeb5001d976b145d30c2d90c1de8da6b8b59275594 /drivers/hwmon/ltc4222.c
parentbaedbe55884c003819f5c8c063ec3d2569414296 (diff)
downloadlinux-2ccbe2cb79f2f74ab739252299b6f9ff27586f2c.tar.xz
macsec: limit ICV length to 16 octets
IEEE 802.1AE-2006 standard recommends that the ICV element in a MACsec frame should not exceed 16 octets: add MACSEC_STD_ICV_LEN in uapi definitions accordingly, and avoid accepting configurations where the ICV length exceeds the standard value. Leave definition of MACSEC_MAX_ICV_LEN unchanged for backwards compatibility with userspace programs. Fixes: dece8d2b78d1 ("uapi: add MACsec bits") Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/ltc4222.c')
0 files changed, 0 insertions, 0 deletions