* Re: a bug in drivers/net/macsec.c ? (ssci endianness) [not found] ` <VI1PR07MB9850B2C9119357C3B254F83F962C2@VI1PR07MB9850.eurprd07.prod.outlook.com> @ 2026-04-21 13:04 ` Sabrina Dubroca 2026-04-22 6:47 ` Karol Gajdos (Nokia) 0 siblings, 1 reply; 2+ messages in thread From: Sabrina Dubroca @ 2026-04-21 13:04 UTC (permalink / raw) To: Karol Gajdos (Nokia); +Cc: netdev@vger.kernel.org 2026-04-21, 11:37:53 +0000, Karol Gajdos (Nokia) wrote: > Hi, > > there seems to be a bug in the function filling IV for the XPN case. > Can you confirm please ? We expect userspace to provide the SSCI in network byte order via the netlink API (same as SCI). As long as we're handling it that way consistently, which I think is the case, there is no bug. -- Sabrina ^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: a bug in drivers/net/macsec.c ? (ssci endianness) 2026-04-21 13:04 ` a bug in drivers/net/macsec.c ? (ssci endianness) Sabrina Dubroca @ 2026-04-22 6:47 ` Karol Gajdos (Nokia) 0 siblings, 0 replies; 2+ messages in thread From: Karol Gajdos (Nokia) @ 2026-04-22 6:47 UTC (permalink / raw) To: Sabrina Dubroca; +Cc: netdev@vger.kernel.org Ok, so it's not a bug, but let's say an unusual agreement between user space and kernel, as netlink generally uses the host byte order for encoding and decoding integers. Anyhow thanks for the clarification and the great work done on MACsec. Karol -----Original Message----- From: Sabrina Dubroca <sd@queasysnail.net> Sent: Tuesday, April 21, 2026 3:04 PM To: Karol Gajdos (Nokia) <karol.gajdos@nokia.com> Cc: netdev@vger.kernel.org Subject: Re: a bug in drivers/net/macsec.c ? (ssci endianness) CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information. 2026-04-21, 11:37:53 +0000, Karol Gajdos (Nokia) wrote: > Hi, > > there seems to be a bug in the function filling IV for the XPN case. > Can you confirm please ? We expect userspace to provide the SSCI in network byte order via the netlink API (same as SCI). As long as we're handling it that way consistently, which I think is the case, there is no bug. -- Sabrina ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-22 6:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AS5PR07MB9837EA10B11F76A167FD20A896202@AS5PR07MB9837.eurprd07.prod.outlook.com>
[not found] ` <VI1PR07MB9850B2C9119357C3B254F83F962C2@VI1PR07MB9850.eurprd07.prod.outlook.com>
2026-04-21 13:04 ` a bug in drivers/net/macsec.c ? (ssci endianness) Sabrina Dubroca
2026-04-22 6:47 ` Karol Gajdos (Nokia)
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.