Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5942128ybf; Thu, 5 Mar 2020 09:56:31 -0800 (PST) X-Google-Smtp-Source: ADFU+vulaxCe1Cn2TrJXhzFyRo+Oow+k8xfsRESS+I+1r/XZ7Ith8612HV5ZhmDPcPOf5+utLtip X-Received: by 2002:a54:4585:: with SMTP id z5mr164160oib.149.1583430991237; Thu, 05 Mar 2020 09:56:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583430991; cv=none; d=google.com; s=arc-20160816; b=ecSEqtsGaLZ9aklhc9cGhRLaY66Cb6AzLheg7KivypGoJ/0HyYeQr/Cj9UuLXdrBzk k/ahDzS89Azf8wP/75zv02LYnAuSfSZcgw+/XHquaZjr+6ldszPCs4o0J9rqk06qDE1S Mxe4YlT/TvJh6glMdO2pJj7rQmEKfHyYHFfQMbtUPHL1SV0grCq0ewJNVPsLkCEfu6OL Kp6beJHdnvjkH+5zPLLo2Ln7f2PqtaT8jlBSNAhaMEr40A63K90IgJSqJDgdEbzHwT5J zmhfn5SYgFcwdmktN4Dwuf1726Xna9Z2KCkr3ciNTxajnYdJzsUHGZIWgHuA7cnKFWUq /iLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YAZG2/hO05sl03MiRnCZ1W9e0grW3DaoEjXC3GXhXj4=; b=lPSfBoYcTMW6KEAQqA+0gFhhOdVV2EtEvELgNPMUYEpnlx7GFo5zW1q47WRXa+IH6X pYRhSlvkVix9nusJ4o7fcHxWKKKSwy6OeOOvU3sI+koZeVdvauOeNyE2tCaEtKWgnrKo mcSiaupXHzQQdI7hnDHuME1D5tLX3NFBMLnxb+QPlpfgmIOAlEjngNda51uDLjcP2i7g IqntPd+g65omh8p1xaB3CdH6qyd2xZR4cElt0xfGmCHBtQBtTemWu6aUPQuycokPHAvn kfiCAJVcS9pVjhZctgg3mob2whiWOWyoi1e8FGUc/ujeoLIZuufUWTviZZd5HB/0vuLh EisA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S/5oNryU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si3804686otc.254.2020.03.05.09.56.18; Thu, 05 Mar 2020 09:56:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S/5oNryU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726351AbgCERz4 (ORCPT + 99 others); Thu, 5 Mar 2020 12:55:56 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37622 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbgCERzz (ORCPT ); Thu, 5 Mar 2020 12:55:55 -0500 Received: by mail-wm1-f68.google.com with SMTP id a141so6704880wme.2; Thu, 05 Mar 2020 09:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YAZG2/hO05sl03MiRnCZ1W9e0grW3DaoEjXC3GXhXj4=; b=S/5oNryUBD4ZFftRBagJ7C+oDjo0WCg8XDU5xuoPlrH272+nkWx960ZFh90qYe1u3F 62tTv1vb73nyqeAJlVZmebsYQrf+EX2t0Zg/Sg6YqJFQYznJd6atvD241dOnS7K1VKRN 3Yi0i7qW54H4mKgaQlrGJuLzvX4NDsHuWtfmEuKpvonTL19s1MCG5HR6k7Pgrm8t4VMh O3whRaUUjhYjmDCcZ/ByjDWVwmJzwgS8WyWKlj+yupu48ARi56ER0RsS58Ja9ZiShSE6 VdQJCI0xkzIp8CMTOYikFzfVV8nsmogv0F1NMI0X96kXfPcREIErUfyqrGn1uu92KRFU B4yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YAZG2/hO05sl03MiRnCZ1W9e0grW3DaoEjXC3GXhXj4=; b=kKR18+fhkj8dDgj70IulEuGAZ4AuxjI89mLpHXsJ4GrxKweIUjqtBPnyPLvI6Tyxgj AkYduw37pR5Fl+6K4SBHxJDIemVr1W4+AGrXL2lCZEbiKs1ec6ygJhhGG7J+ECIZfVrU VoiPU9LJW2VD4l6FyhyAIrEkntq49h9KRh30LWXBxfD3dgqEniotbTJH52KzgDIlrMSH 4p4s9YBmxui+if/nJ7NhUidVuLzrW5KPXB8XSrXeuGVnnD0EK3BXyCvsY5BHVG3TZcbu dM+SoARTtdLDBqAXBYrrR9SFn1Qe+v9cSX5YwdMZVbR6h724PGtNBu1RleLV4zsKS/HQ 9FjA== X-Gm-Message-State: ANhLgQ3Iis/FT3xCSJm6C9zSlm7ByLMXjyjH4zugSQRlnq7cIpviswVK vUyiUVJzdbItFyHUOa7B/QquGzp6nW5d6A== X-Received: by 2002:a05:600c:280b:: with SMTP id m11mr10900679wmb.93.1583430953992; Thu, 05 Mar 2020 09:55:53 -0800 (PST) Received: from localhost (hosting85.skyberate.net. [185.87.248.81]) by smtp.gmail.com with ESMTPSA id i1sm25493010wrs.18.2020.03.05.09.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 09:55:53 -0800 (PST) From: Era Mayflower To: davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Era Mayflower Subject: [PATCH 1/2] macsec: Backward compatibility bugfix of consts values Date: Fri, 6 Mar 2020 02:55:22 +0000 Message-Id: <20200306025523.63457-1-mayflowerera@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed a compatibility bug, the value of the following consts changes: * IFLA_MACSEC_PAD (include/uapi/linux/if_link.h) * MACSEC_SECY_ATTR_PAD (include/uapi/linux/if_macsec.h) * MACSEC_RXSC_ATTR_PAD (include/uapi/linux/if_macsec.h) Depends on: macsec: Netlink support of XPN cipher suites (IEEE 802.1AEbw) Signed-off-by: Era Mayflower --- include/uapi/linux/if_link.h | 2 +- include/uapi/linux/if_macsec.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index ee424d915..383316421 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -462,9 +462,9 @@ enum { IFLA_MACSEC_SCB, IFLA_MACSEC_REPLAY_PROTECT, IFLA_MACSEC_VALIDATION, + IFLA_MACSEC_PAD, IFLA_MACSEC_SSCI, IFLA_MACSEC_SALT, - IFLA_MACSEC_PAD, __IFLA_MACSEC_MAX, }; diff --git a/include/uapi/linux/if_macsec.h b/include/uapi/linux/if_macsec.h index c8fab9673..a1132107d 100644 --- a/include/uapi/linux/if_macsec.h +++ b/include/uapi/linux/if_macsec.h @@ -68,9 +68,9 @@ enum macsec_secy_attrs { MACSEC_SECY_ATTR_INC_SCI, MACSEC_SECY_ATTR_ES, MACSEC_SECY_ATTR_SCB, + MACSEC_SECY_ATTR_PAD, MACSEC_SECY_ATTR_SSCI, MACSEC_SECY_ATTR_SALT, - MACSEC_SECY_ATTR_PAD, __MACSEC_SECY_ATTR_END, NUM_MACSEC_SECY_ATTR = __MACSEC_SECY_ATTR_END, MACSEC_SECY_ATTR_MAX = __MACSEC_SECY_ATTR_END - 1, @@ -82,8 +82,8 @@ enum macsec_rxsc_attrs { MACSEC_RXSC_ATTR_ACTIVE, /* config/dump, u8 0..1 */ MACSEC_RXSC_ATTR_SA_LIST, /* dump, nested */ MACSEC_RXSC_ATTR_STATS, /* dump, nested, macsec_rxsc_stats_attr */ - MACSEC_RXSC_ATTR_SSCI, /* config/dump, u32 */ MACSEC_RXSC_ATTR_PAD, + MACSEC_RXSC_ATTR_SSCI, /* config/dump, u32 */ __MACSEC_RXSC_ATTR_END, NUM_MACSEC_RXSC_ATTR = __MACSEC_RXSC_ATTR_END, MACSEC_RXSC_ATTR_MAX = __MACSEC_RXSC_ATTR_END - 1, -- 2.20.1