Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2249324pxb; Thu, 4 Nov 2021 17:01:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWZlMXs+TG6UIzCC66+MXsTEAmOlvoUHvzSpokWkOsqV1F6Jkr0ga9wvX+IesHJduGhdqa X-Received: by 2002:a17:906:2e97:: with SMTP id o23mr14785298eji.541.1636070516503; Thu, 04 Nov 2021 17:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636070516; cv=none; d=google.com; s=arc-20160816; b=deVrUbMPmz8F+fqLObHMFXMWUGbmEyVsiJY3W377UzM7jbc7zZf99wlbORuZlW6ArG ZRJ0DRtpLR/yoEZJIKNwGm2MscDjWtjGgMDnvGAepGt5hzBuwQod/9h/9m/l6brEv62o S+TjqFpIJRQ7DKN4+QNqjki8huEvH8dVDSbOe4JVBbFgBk+FFUIk+zq4aCMW9SqLK30v r40WdcBKaMSU8+i9usFWOEE/u25ChlQtbR6e+w9woSP+LzcTKNlckIj5LprPey1Wq7bJ GH0BbfpVLAMd6DulijWWkfryQE+e9GGx6lLKKFhN0ihEuInuYGH+B77Teq3j5XA12KnW V2TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=fmiZPG02HyYGSi+Q2nXdg4s8xr7qc/fDGrzbQQ8AYko=; b=0Pihzv3d9JF2AscmBzAwrrhankSWWEU8S3ZISfS6h4YqC4HCOp9GK3kFARkFGRJZw2 j8RArloeyPJj/NRDIvrQnuQP1v0CNadpG+bL/WYra+y0c25RZ3+Ag1jJjym6z2gp0tQM tUxfa6uZCL9iIGSLRMwctW16Nl+/grDqOhADDl9w8ovU4aME2SSQLiRnx7iog8/HCy+I f7Q5sLQVnKE9jkD+jFrFlzk4vealxzP3IhbXLtVGxpQWKxBkXPV9Jx78GvFqawReCvtB rd/h2dVM3mGZGTGpXoEOdcpvqZDg6GKwNt687hZdZ+4SSHK0nDUIxDXK7ZhfRKZoZoGr EXiA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si9154425ejf.233.2021.11.04.17.01.28; Thu, 04 Nov 2021 17:01:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232432AbhKEACA (ORCPT + 99 others); Thu, 4 Nov 2021 20:02:00 -0400 Received: from pi.codeconstruct.com.au ([203.29.241.158]:46524 "EHLO codeconstruct.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhKEAB7 (ORCPT ); Thu, 4 Nov 2021 20:01:59 -0400 Received: from pecola.lan (unknown [159.196.93.152]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 9055B20222; Fri, 5 Nov 2021 07:59:17 +0800 (AWST) Message-ID: <54b02f37ab63e0e5a0c6fc2912b8652927fdb22f.camel@codeconstruct.com.au> Subject: Re: [PATCH net-next v2 0/2] MCTP sockaddr padding check/initialisation fixup From: Jeremy Kerr To: Jakub Kicinski , Eugene Syromiatnikov Cc: Matt Johnston , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 05 Nov 2021 07:59:17 +0800 In-Reply-To: <20211104165532.781b3dd0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> References: <20211104165532.781b3dd0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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