Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp271277ybt; Tue, 30 Jun 2020 20:50:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdJe4gV2bu81BUd4GSI78J/0OFbfhy/aQH+7wEB/21OudKl+VXQZXC+sVI9hSbpUYBzUDd X-Received: by 2002:a17:906:6004:: with SMTP id o4mr21422710ejj.411.1593575456617; Tue, 30 Jun 2020 20:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593575456; cv=none; d=google.com; s=arc-20160816; b=r95GautQCp1suScW19EupYvvyqETMjfwNcDZZzn2UxDLdAgp1nflFX+//Gg3O2QKBS ofTWokz1WVTzLw/xasJcoMgBwYbiUIjKLv8WCBdYHw7mTdVmJh7TvAb5p8Ve/PZL0UMI aRKzZIV1VeysCxdn1he2ajcCAZIGoPf2IfYxmPo2wWVXhVc8hGv8fy7Wf3tGPg1PPo3I 8EqP599Qp+vjqo4nTfK4IUzL5mrcCiQSzx7y8o/b3pd70jTGj4t3oF0v15gocu6yYTlT XsHnVzazGQJs4acmG5VHko5JyWCstD7grKqpxP1BWH3Haa5HXPS9FWHxfNX5XLt8sEdY aKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=imYkdLoi8qTTEXXbSiII86Oi6ou11vxsNjPqOmeTF5c=; b=nsOSrfRWAkvEqZBvDd08hDnwF0o6TGKmRXM0947wHHt50fdOX7JL0WAnEUyq5T5Zf2 XLPPboeHFyuPj1UpAE+BfmHYdmALEhtRyL28Fy2MheeycbG3oN2y6d88ubZbmGA5piZP vxuj0wHHL5/lUmP7cw3b9My0g6kUNFypLMsAFsFwv9aM8YHUWTD7nCKM4XX8ROlnJnkJ 4gjNjBvM/5Z/5eZwPyLlR3aQn6Veeq1luJqXxmXByGO3Pe1l+Mi60ZhvdJfv4la4ZeP+ HGEMyY/+Ev9Tv99nIrdR7goDdWQlL076yssYIKM8Bzmlws52iTzOlYeo+agTdWyNWC3N PmGQ== 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 h5si3099439ejy.226.2020.06.30.20.50.33; Tue, 30 Jun 2020 20:50: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 S1726444AbgGADuW (ORCPT + 99 others); Tue, 30 Jun 2020 23:50:22 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:35316 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbgGADuW (ORCPT ); Tue, 30 Jun 2020 23:50:22 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jqTlG-0006Ov-BC; Wed, 01 Jul 2020 13:50:15 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Wed, 01 Jul 2020 13:50:14 +1000 Date: Wed, 1 Jul 2020 13:50:14 +1000 From: Herbert Xu To: Eric Dumazet Cc: Mathieu Desnoyers , David Miller , Linus Torvalds , LKML , netdev , Yuchung Cheng , Jonathan Rajotte-Julien Subject: Re: [regression] TCP_MD5SIG on established sockets Message-ID: <20200701035014.GA7384@gondor.apana.org.au> References: <20200701020211.GA6875@gondor.apana.org.au> <20200701022241.GA7167@gondor.apana.org.au> <20200701025843.GA7254@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 30, 2020 at 08:36:51PM -0700, Eric Dumazet wrote: > > If I knew so many people were excited about TCP / MD5, I would have > posted all my patches on lkml ;) > > Without the smp_wmb() we would still need something to prevent KMSAN > from detecting that we read uninitialized bytes, > if key->keylen is increased. (initial content of key->key[] is garbage) > > Something like this : LGTM. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt