Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp457146ybt; Wed, 24 Jun 2020 03:30:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcXEjT0NJ7HN2tkshM0ORQiTblV7n2AKNSwTg5UXJgQAejbJhH47PCW0RmKsKWkcxSTdUh X-Received: by 2002:a50:bc03:: with SMTP id j3mr4791057edh.234.1592994615932; Wed, 24 Jun 2020 03:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592994615; cv=none; d=google.com; s=arc-20160816; b=nOC8j/1Vwv66baynhf7uyt+dRtFQQza3bKoov3zVyp26raBjT4vqdwB3UoIXC15Z2h UMcwDH/DDfTs2f6A+5DEXM08gsNHRabDof8T/YWsriEtNdnqmyiW4MgJeyPi6zVZ91J4 dkCZFCI9K7R8ZAHsuhlTav0+30UER5TlsVv9M0udhcW/r1Bki2ZxMxa0Oyx/TLOfwVno u/gyDw0bsZO8XEA+9qWFpx6D3Qe9RDi2fv6f+pk0TbJxQYnHe8HtWkZ1gKjcHBvJjMMv IWUvYerqVWPx7/o+wOxjxw382UAzQAoZIerakwyvSMUGfC7HLaQxK3/hyc6g6VGbfULd 93ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=J2MV0mam45EwIsPoyMX/nBi9KSxxMizw5CtJ6VCGjo8=; b=tETT8DFBi4/M2l0Pl6wdQ3rx9K+b/nH6bdGAlCcUEWFAFzuPHBTKbT0BdnY1XxLkNw qfxuaqcCgV72z67jJXkxZKJGDRoMx1Kg343B5t9AnHVvUJHgEJkXEULn4fB9Jk1WiOR2 JX2hIq/dMdOFAnd92ht/iUlaYKKSVc3QO+JzbzVlC2/HiKG30rftqfEPWGUQFTTBijiL +ZcLXQIR1ZvRMxn5snB/pgFndUy9w6VDhKsg3c0l7+dihjPCyuJtHNEmAFTjoHHilxuG c9h83eKiBbzQEvXIo9f3sXwLRHWG/LeA3DXm1fzhyLA1wGlLyveT61+V25/mRr5zk293 RlHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hMkCoL5Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id r1si12807263ejh.683.2020.06.24.03.29.52; Wed, 24 Jun 2020 03:30:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hMkCoL5Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2388705AbgFXK1Y (ORCPT + 99 others); Wed, 24 Jun 2020 06:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388176AbgFXK1W (ORCPT ); Wed, 24 Jun 2020 06:27:22 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3A32C061573; Wed, 24 Jun 2020 03:27:21 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id h19so1913507ljg.13; Wed, 24 Jun 2020 03:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J2MV0mam45EwIsPoyMX/nBi9KSxxMizw5CtJ6VCGjo8=; b=hMkCoL5ZOxiq80mZR2E1yBYK4igFfXdls3natzutOiX8GHy2vAgudRg0pSCXgf5aei fqORfN9MsDaLDNrrREl/+9/kGSgfynXkVDwdJTctDVVLN5VyntxkGjJ+EEdM+iEqOmLH ZGTpNJkGcfv1TYwLr0ySGtlQyzyygrPTWVGgycTvvj8qES7Q4NFsKESznJF6DKpCQFeh w5gSuzwvrJMAJeufx3TuENz0uFon7l/MBmrvjhrnUi/b4BbnLH20yLBX94yJN3RdTtM4 vQnbqttXBjNVR4f+26QzFou0j8m050xHuvF4zl7OnpiUwpuvk3ahFPZaLoc8k7QvDqo0 6V9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J2MV0mam45EwIsPoyMX/nBi9KSxxMizw5CtJ6VCGjo8=; b=FNBZyYxKxXtBDT5phSvqY0zEEMcPVSHM8Y5acUDQiMQWBRzqt+Qlinu/VzAVIqFVYe Zy37L4Nd9EhhMbpS5mE1YsrZFwxmcTxrFUJL5FguwImMszE4hj3if7gYA/UO3g4fXti3 kRfysVNnfWV2u3A1qZlhTBF3TYxIql+TNIDL2yPJZARBdJqYn5/6ZYvD+rvEgvk0oJ6j H6khOQNIuINBuhy3FVBG43j3WKnPZoCzixTx/TDwLeDKdRLNsN0hrV8YENEzwSs++pW/ CbuP360SVuhxjVmfkXRFtdGBP4SQUogqf69f1T/fg1YG+YCI2bkq0qq+NxUtqxvNXE1b Bt+A== X-Gm-Message-State: AOAM533o3Rstz8RZNpZNX4hDbmyILLyHP7acUHSJI8Js4RLYMLWgtP6X 0SY6nDNPgMacSoY4zVIJAydgihGroIAWEEHMK+k= X-Received: by 2002:a2e:95d9:: with SMTP id y25mr14201341ljh.167.1592994440297; Wed, 24 Jun 2020 03:27:20 -0700 (PDT) MIME-Version: 1.0 References: <20200615154114.13184-1-mayflowerera@gmail.com> <20200615.182343.221546986577273426.davem@davemloft.net> In-Reply-To: From: Era Mayflower Date: Wed, 24 Jun 2020 19:23:28 +0900 Message-ID: Subject: Re: [PATCH] macsec: Support 32bit PN netlink attribute for XPN links To: David Miller Cc: kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 17, 2020 at 1:32 AM Era Mayflower wrote: > > On Wed, Jun 17, 2020 at 10:02 AM Era Mayflower wrote: > > > > On Tue, Jun 16, 2020 at 1:23 AM David Miller wrote: > > > > > > From: Era Mayflower > > > Date: Tue, 16 Jun 2020 00:41:14 +0900 > > > > > > > + if (tb_sa[MACSEC_SA_ATTR_PN]) { > > > > > > validate_add_rxsa() requires that MACSET_SA_ATTR_PN be non-NULL, so > > > you don't need to add this check here. > > > > > > > validate_add_rxsa() did not originally contain that requirement. > > It does exist in validate_add_txsa(), which means that providing a PN > > is necessary only when creating TXSA. > > When creating an RXSA without providing a PN it will be set to 1 > > (init_rx_sa+15). > > This is the original behavior which of course can be changed. > > > > - Era. > > Sorry for the time issues, just noticed I sent the previous mail with > future time. > Fixed it permanently on my computer. Hello, is there any news? - Era.