Allow using 32bit netlink attribute for packet number when creating or
updating SA in an XPN link.
Now utilities like iproute2's `ip` do not have to know the link type
(XPN or not) when setting the packet number field of an SA.
Signed-off-by: Era Mayflower
---
drivers/net/macsec.c
On Wed, Jun 24, 2020 at 10:23 AM Era Mayflower wrote:
>
> 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:
> &g
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
&g
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]) {
> >
> > validat
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
Allow using 32bit netlink attribute for packet number when creating or
updating SA in an XPN link.
Now utilities like iproute2's `ip` do not have to know the link type
(XPN or not) when setting the packet number field of an SA.
Signed-off-by: Era Mayflower
---
drivers/net/macsec.c
6 matches
Mail list logo