net: macsec: update SCI upon MAC address change.
authorDmitry Bogdanov <dbogdanov@marvell.com>
Tue, 10 Mar 2020 15:22:24 +0000 (18:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 22:59:32 +0000 (15:59 -0700)
commit6fc498bc82929ee23aa2f35a828c6178dfd3f823
tree2277b1aac852d0552fd13ee36cdeff2c6aca8617
parent7d7195a026bac47ac9943f11f84b7546276209dd
net: macsec: update SCI upon MAC address change.

SCI should be updated, because it contains MAC in its first 6 octets.

Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c