Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp137857rdb; Sat, 16 Dec 2023 03:12:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/KrDCFXYgsvvUnnZaB37L7g9ZTNd4x1mrujnoSWEBwneL3j6Oy1s065pGu7cba/o3rTRG X-Received: by 2002:a05:620a:3725:b0:77f:a2a4:15a with SMTP id de37-20020a05620a372500b0077fa2a4015amr6234771qkb.59.1702725168783; Sat, 16 Dec 2023 03:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702725168; cv=none; d=google.com; s=arc-20160816; b=qE8rvhw+MJ/9uNf4ouN5TKiY4MD2oQafSEiefGiVE9F/mYyzblfvnpQRQt1t/LulLa BVkdYbhukgjpaHqb7GSe+k0LzGo2HPKjhjJ8oafoyrlVEFrHnOL3dROcEMZhxvjhMq0J EoUkzcKJ8XMLiw4TjoQDoxU8HNpnQyxq/E3a7l2jpSZ7fftd71OjTxw7r7qY+ncjEOOF nrcEuPsJc79CfR9ykvPsvBR3JyW2yWvBgwVssDDByFKnCxQHqxIpRg45A/hVAsEILpGq BUtC6n8NuematSGocDPXbVI6AVSTHDv9BZPOyDbloymwofYONlLspSqM0xBlc061W7/Y /fTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kbUn63ehNXbNRm7IvgtOu+OqSRZWaisPevjV5/xPinM=; fh=zJ6ZPBo/U5r9mNNn9cSgaDriEb9XTr23yuU65RBy3Mc=; b=eEZIdPqcBvqQ88DuttbQYvUosEKOQL4dcFQthKVfMzO7gzRsta/EmKlrifhvfuXSXj MLLj0hRNhqoJ7oeu9faGxruyD0hKNOTc68ReLq38KG/ix7LtLOP/DY604N8DP/Lb8oKW q2mFRG44WK+a9N1fg1gMTvRknGWumBilMm76G/ZqhTcRJ/J3LefZBsYC5/U3e+m7SJEk tSHUlc8NK+fHPA/PBy8hW/JI53i70ZPxAaZ1VunVOKr3fthY4fqWBhJIChD8FJ7/n4WO Mik4SsMIB9mn2g9c7t0dcsKxgTKf0lDQl+YiWF2O2mw118P/UdT7jYO+aXYcUu+wOSHb s2xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dlYDjst1; spf=pass (google.com: domain of linux-nfs+bounces-672-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t16-20020a05620a035000b0077f02e983f5si17966656qkm.644.2023.12.16.03.12.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 03:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-672-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dlYDjst1; spf=pass (google.com: domain of linux-nfs+bounces-672-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 763761C23305 for ; Sat, 16 Dec 2023 11:12:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CCC518EA4; Sat, 16 Dec 2023 11:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dlYDjst1" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C90918EA0 for ; Sat, 16 Dec 2023 11:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702725164; 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=kbUn63ehNXbNRm7IvgtOu+OqSRZWaisPevjV5/xPinM=; b=dlYDjst1HkEvGE5p6gecTtSfd5xbxLvMDC/ndj4FtQa7AzzTzkxao8yNg2fEQAF2/6gwZ5 LbE0af6Q28uUxd6Il64yJ+BDeHRaUZIG7xFA0vVnAA23Sosor5W7Vbks8u7ay566GHs7tq kYftdwJGUGdTgZJojjr0+hdfG94XYkQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-467-5gde3lhiNe-FGwnTQsSwTw-1; Sat, 16 Dec 2023 06:12:42 -0500 X-MC-Unique: 5gde3lhiNe-FGwnTQsSwTw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CE03C185A780; Sat, 16 Dec 2023 11:12:41 +0000 (UTC) Received: from [100.85.132.103] (ovpn-0-5.rdu2.redhat.com [10.22.0.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CF1B61C060B1; Sat, 16 Dec 2023 11:12:40 +0000 (UTC) From: Benjamin Coddington To: Dai Ngo Cc: chuck.lever@oracle.com, jlayton@kernel.org, linux-nfs@vger.kernel.org, linux-nfs@stwm.de Subject: Re: [PATCH 1/3 v2] SUNRPC: remove printk when back channel request not found Date: Sat, 16 Dec 2023 06:12:39 -0500 Message-ID: <66BB600A-2C0D-457A-9A13-0F1D7F5E44B7@redhat.com> In-Reply-To: <1702676837-31320-2-git-send-email-dai.ngo@oracle.com> References: <1702676837-31320-1-git-send-email-dai.ngo@oracle.com> <1702676837-31320-2-git-send-email-dai.ngo@oracle.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 On 15 Dec 2023, at 16:47, Dai Ngo wrote: > If the client interface is down, or there is a network partition between > the client and server, that prevents the callback request to reach the > client TCP on the server will keep re-transmitting the callback for about > ~9 minutes before giving up and closes the connection. > > If the connection between the client and the server is re-established > before the connection is closed and after the callback timed out (9 secs) > then the re-transmitted callback request will arrive at the client. When > the server receives the reply of the callback, receive_cb_reply prints the > "Got unrecognized reply..." message in the system log since the callback > request was already removed from the server xprt's recv_queue. > > Even though this scenario has no effect on the server operation, a > malicious client can take advantage of this behavior and send thousand > of callback replies with random XIDs to fill up the server's system log. I don't think this is a serious risk. There's plenty of things a malicious client can do besides try to fill up a system log. This particular printk has been an excellent indicator of transport or client issues over the years. Seeing it in the log on a customer systems shaves a lot of time off an initial triage of an issue. Seeing it in my testing environment immediately notifies me of what might be an otherwise hard-to-notice problem. Ben