Skip to content

macsec: linkstate fixes

Sabrina Dubroca netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2macsec: update operstate when lower device changesdrivers/net/macsec.c+17 -00 replies
2/2macsec: let the administrator set UP state even if lowerdev is downdrivers/net/macsec.c+0 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] macsec: linkstate fixes

This series fixes issues with handling administrative and operstate of macsec devices.

Radu Rendec proposed another version of the first patch [0] but I'd rather not follow the behavior of vlan devices, going with macvlan does instead. Patrick Talbert also reported the same issue to me.

The second patch is a follow-up. The restriction on setting the device up is a bit unreasonable, and operstate provides the information we need in this case.

[0] https://patchwork.ozlabs.org/patch/971374/

Sabrina Dubroca (2):
macsec: update operstate when lower device changes
macsec: let the administrator set UP state even if lowerdev is down

 drivers/net/macsec.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
Signature · 1 line
2.19.1