From: Antoine Tenart <atenart@kernel.org>
To: Paolo Abeni <pabeni@redhat.com>,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org
Cc: sd@queasysnail.net, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: phy: mscc: macsec: do not copy encryption keys
Date: Tue, 15 Nov 2022 15:58:13 +0100 [thread overview]
Message-ID: <166852429383.51101.3677122083527960854@kwain> (raw)
In-Reply-To: <9facd5682e29fa5e02062c8f665d9c2370a16fdb.camel@redhat.com>
Hi,
Quoting Paolo Abeni (2022-11-15 15:38:06)
> On Mon, 2022-11-14 at 10:20 +0100, Antoine Tenart wrote:
> > Instead of calling memzero_explicit on the key when freeing a flow,
> > let's simply not copy the key in the first place as it's only used when
> > a new flow is set up.
> >
> > Signed-off-by: Antoine Tenart <atenart@kernel.org>
> > ---
> >
> > Following
> > https://lore.kernel.org/all/20221108153459.811293-1-atenart@kernel.org/T/
> > refactor the MSCC PHY driver not to make a copy the encryption keys.
>
> The patch LGTM, but would you mind including into the commit message a
> reference to the -net commit, so that the dependency is there to
> simplify eventual backports?
Sure, will do in a v2.
Thanks!
Antoine
prev parent reply other threads:[~2022-11-15 15:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-14 9:20 [PATCH net-next] net: phy: mscc: macsec: do not copy encryption keys Antoine Tenart
2022-11-15 14:38 ` Paolo Abeni
2022-11-15 14:58 ` Antoine Tenart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=166852429383.51101.3677122083527960854@kwain \
--to=atenart@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sd@queasysnail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox