commit | f20f5f79909fdc6327fcd015a3850645a236729d | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Fri Sep 09 16:02:22 2016 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Tue Sep 20 09:48:26 2016 -0700 |
tree | 13841edf1b28c4e1307c30408b7840ee57f033ca | |
parent | e2cfe5501f99ed17e883a02c6fe81b7f9ab6f2d7 [diff] |
macsec: fix input range of 'icvlen' parameter the maximum possible ICV length in a MACsec frame is 16 octects, not 32: fix get_icvlen() accordingly, so that a proper error message is displayed in case input 'icvlen' is greater than 16. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Acked-by: Phil Sutter <phil@nwl.cc> Acked-by: Sabrina Dubroca <sd@queasysnail.net>