Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A002C4332F for ; Thu, 15 Dec 2022 12:13:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbiLOMNp (ORCPT ); Thu, 15 Dec 2022 07:13:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiLOMNj (ORCPT ); Thu, 15 Dec 2022 07:13:39 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1CF61147B for ; Thu, 15 Dec 2022 04:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671106377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=INzH2p/9d+zD9SZfFY1L3SwZLuNmjVvPQmL2B3ooO6M=; b=D3nLkMhIthQVA5IjP7TM4MwF1Z9+uQ6v7mCvnhWE2oxQ17i1FCIbAUME7iQ1Smm3m3s+CP 9pr1803fu1QKvIEnUXETnL+i9Nf74N4wqqliwaHHHva7MRPDZDmWQ6XDnBxs3aw9rqGpRS Cy+LQLzVBKSq1QMxUAItbuPbvVDvPWk= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-5-eqSJgV1HNh6e1ICuPf0wIQ-1; Thu, 15 Dec 2022 07:12:53 -0500 X-MC-Unique: eqSJgV1HNh6e1ICuPf0wIQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4EC5A3C10230; Thu, 15 Dec 2022 12:12:51 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.96]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7526840C2064; Thu, 15 Dec 2022 12:12:45 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <92b887a9b90dcbf5083d1f47699c2f785820d708.1670929442.git.bcodding@redhat.com> References: <92b887a9b90dcbf5083d1f47699c2f785820d708.1670929442.git.bcodding@redhat.com> To: Benjamin Coddington cc: Jakub Kicinski , Paolo Abeni , "David S. Miller" , Eric Dumazet , Guillaume Nault , Philipp Reisner , Lars Ellenberg , Christoph =?utf-8?Q?B=C3=B6hmwalder?= , Jens Axboe , Josef Bacik , Keith Busch , Christoph Hellwig , Sagi Grimberg , Lee Duncan , Chris Leech , Mike Christie , "James E.J. Bottomley" , "Martin K. Petersen" , Valentina Manea , Shuah Khan , Greg Kroah-Hartman , David Howells , Marc Dionne , Steve French , Christine Caulfield , David Teigland , Mark Fasheh , Joel Becker , Joseph Qi , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Ilya Dryomov , Xiubo Li , Chuck Lever , Jeff Layton , Trond Myklebust , Anna Schumaker , Steffen Klassert , Herbert Xu , netdev@vger.kernel.org Subject: Re: [PATCH net v3 2/3] Treewide: Stop corrupting socket's task_frag MIME-Version: 1.0 Content-Type: text/plain Date: Thu, 15 Dec 2022 12:12:42 +0000 Message-ID: <122424.1671106362@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Benjamin Coddington wrote: > diff --git a/fs/afs/rxrpc.c b/fs/afs/rxrpc.c > index eccc3cd0cb70..ac75ad18db83 100644 > --- a/fs/afs/rxrpc.c > +++ b/fs/afs/rxrpc.c > @@ -46,6 +46,7 @@ int afs_open_socket(struct afs_net *net) > goto error_1; > > socket->sk->sk_allocation = GFP_NOFS; > + socket->sk->sk_use_task_frag = false; > > /* bind the callback manager's address to make this a server socket */ > memset(&srx, 0, sizeof(srx)); Possibly this should be done in net/rxrpc/local_object.c too? Or maybe in udp_sock_create() or sock_create_kern()? David