Message ID | cover.1635965993.git.esyr@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | MCTP sockaddr padding check/initialisation fixup | expand |
On Wed, 3 Nov 2021 20:09:36 +0100 Eugene Syromiatnikov wrote: > This pair of patches introduces checks for padding fields of struct > sockaddr_mctp/sockaddr_mctp_ext to ease their re-use for possible > extensions in the future; as well as zeroing of these fields > in the respective sockaddr filling routines. While the first commit > is definitely an ABI breakage, it is proposed in hopes that the change > is made soon enough (the interface appeared only in Linux 5.15) > to avoid affecting any existing user space. Seems reasonable, Jeremy can you send an ack?
Hi Jakub, > > This pair of patches introduces checks for padding fields of struct > > sockaddr_mctp/sockaddr_mctp_ext to ease their re-use for possible > > extensions in the future; as well as zeroing of these fields > > in the respective sockaddr filling routines. While the first > > commit > > is definitely an ABI breakage, it is proposed in hopes that the > > change > > is made soon enough (the interface appeared only in Linux 5.15) > > to avoid affecting any existing user space. > > Seems reasonable, Jeremy can you send an ack? Yep, will do ASAP - I'm planning also send references to the commits ton the userspace side, so that we have a record of where everything lines up on the updated ABI. I'll have that done later today. Cheers, Jeremy
Hi Eugene, > While the first commit is definitely an ABI breakage, it is proposed > in hopes that the change is made soon enough (the interface appeared > only in Linux 5.15) to avoid affecting any existing user space. Of the two applications that currently use AF_MCTP: - one is already zeroing the sockaddr_mctp - the other has a fix for two of the potential sendmsg() & bind() calls: https://github.com/CodeConstruct/mctp/commit/072bafe7 Given we have a confined set of applications (and users), and they're both now compatible with this change: Acked-by: Jeremy Kerr <jk@codeconstruct.com.au> For both patches. Cheers, Jeremy
Hello: This series was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>: On Wed, 3 Nov 2021 20:09:36 +0100 you wrote: > Hello. > > This pair of patches introduces checks for padding fields of struct > sockaddr_mctp/sockaddr_mctp_ext to ease their re-use for possible > extensions in the future; as well as zeroing of these fields > in the respective sockaddr filling routines. While the first commit > is definitely an ABI breakage, it is proposed in hopes that the change > is made soon enough (the interface appeared only in Linux 5.15) > to avoid affecting any existing user space. > > [...] Here is the summary with links: - [net-next,v2,1/2] mctp: handle the struct sockaddr_mctp padding fields https://git.kernel.org/netdev/net/c/1e4b50f06d97 - [net-next,v2,2/2] mctp: handle the struct sockaddr_mctp_ext padding field https://git.kernel.org/netdev/net/c/e9ea574ec1c2 You are awesome, thank you!