From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sabrina Dubroca Subject: [PATCH net 0/2] macsec: linkstate fixes Date: Sun, 28 Oct 2018 09:33:08 +0100 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Sabrina Dubroca , Radu Rendec , Patrick Talbert To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55590 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbeJ1RQy (ORCPT ); Sun, 28 Oct 2018 13:16:54 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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(-) -- 2.19.1