Message ID | 20240219143906.138346-1-dhowells@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-71492-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1326044dyc; Mon, 19 Feb 2024 06:41:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWlip63xVQaYbnmkrgIHK0YiJxNPyHoLJaBUvtjoKhbv0SJDrXn3t5k1uRaZLS26+s4KNmwC8cM1EhVz3XPsLN9J/NjnA== X-Google-Smtp-Source: AGHT+IFy4K73VwZOtxzRc1dmLyYXwgooijKcALhaFaP4MVYkZ5dvDmWbBqPvMfFFz9YckWPI6DTX X-Received: by 2002:a05:6a21:9209:b0:19e:c2b2:ac50 with SMTP id tl9-20020a056a21920900b0019ec2b2ac50mr16677930pzb.12.1708353661964; Mon, 19 Feb 2024 06:41:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708353661; cv=pass; d=google.com; s=arc-20160816; b=cOYvv8kwsH1MmAO4NacLC+gp151RaZD3zL0kpSuc4JhAPexp6ToaHwS0UCvmzEXkMJ V5FhVrLpzyUc0d5tfSH0mCDRfeIn3ObYp4Fdu1n7v2KhS6Cq7k1yRTkfD/Q079xMGJCJ qm+8GCXkk3z5UfGhLrhlwXkmzKonz34IFxl05c4aLdPzX86ksb1CHEijZP84N49wX3tm hJ9tmvgtLxM+M9wX+Khk6wLuQ8kCU3hb6BXok32o4bn8Tk7fOD1MJIz1+tS+Gu+atcHI BxL0/zYUaqOHRqznToBkmdS6jaLJ8NQNX9SUrfuVLEuN+rRwrzids5aAmxGNdzZ/rXLP WuNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zRNUK86yxiv/OwmKYhoDvWlQYRo9iQoXDxOJPggkFCc=; fh=Dvz1EOh7uOnJt5G9mXlPZHb3QMg5AAHTfNSqCpvI5zU=; b=cTJU9M7Wg1abJtVS0bMAqHdfAPk10OUQgtjSfJg6r1rT8qLPsAP8qr6Fz13Ofw+yBf LiNOQoqdYe8un9P/Gj45wn2ArD5zClMFTEFq6l+1gvkNwlUZsZUlbOk+wIadwzQFj6KA IwK9X2K236qZXEQh1QCBkZ5/2enhZ0rzotp6mLuc59KHwV7SKigfZ8WaqEWm+8XYvVjc HzirE+TaIdZR2PT6N3mf6crMtn7DbAbGzB2ffXs3KF5enY5sRFFeu2sYZ8zzenIuxWQx wUEjTtxcR98wB7upM1b1VOZNHVY+4DJv+uIYtFSsXQsWXddIcnzVckyAQRiWYRjqVrct fTLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWPFwFJD; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-71492-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71492-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id mw18-20020a17090b4d1200b00299785035dcsi2951519pjb.107.2024.02.19.06.41.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 06:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71492-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KWPFwFJD; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-71492-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71492-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A11F1B21F4A for <ouuuleilei@gmail.com>; Mon, 19 Feb 2024 14:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F051A376E1; Mon, 19 Feb 2024 14:39:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="KWPFwFJD" 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 703031E526 for <linux-kernel@vger.kernel.org>; Mon, 19 Feb 2024 14:39:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708353556; cv=none; b=A0jP/HPjHgBbGPVRTOdC+RPspGW2bRBPnECsyxNmfvXxD86JvJ8XuyhUuFzKUINqsh2QOlL6tu1tLXZPLH9gNOXFp+G3U4cEIjSFAy6055eX9N9qTjGHHwSAapdx1XdTeBHWMXIjXdjzdyPJjWxijBwe/KyTFnsdv7Bc3XDxCFc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708353556; c=relaxed/simple; bh=iAYLQ/ry4Ws2zpmoqOww5l5/+sgF7NvkadRmo19kmW0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bvH0UrjD/ZjB2VUl/3vi1fKTnNaOOUpuwbU8urHximETBaOCRWNtCv7I+/WRPu/D4T0aYHFURFGwjMRg8/BQZgZ0YE/rSPa4S42MTOEZVoECPg5OIAOx8fBUpJmQB52Y7EVJKeX5AH5V95u1ZRbP6E7HZCNyfnSNIwLIzI423As= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=KWPFwFJD; arc=none smtp.client-ip=170.10.129.124 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=1708353553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zRNUK86yxiv/OwmKYhoDvWlQYRo9iQoXDxOJPggkFCc=; b=KWPFwFJDMUefH9bX5Tiw8hbCNLyk1z16IL2TlBQO6S/ghd3xwIVMfeRWRJYMyd5UljA72K A92yU/KRk8ZY+dshHvEzjwf4ICNjuhRsaA4q9VlGpPk2/XPCV3uMRolQsVvs9vuVV49d6s GsOf7nsR8FndoHR+ve4kJiKQ95M8j8U= 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-331-0HMhFc7UODeaRflfNH66Xw-1; Mon, 19 Feb 2024 09:39:09 -0500 X-MC-Unique: 0HMhFc7UODeaRflfNH66Xw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 65111185A780; Mon, 19 Feb 2024 14:39:09 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3AB65492BE2; Mon, 19 Feb 2024 14:39:08 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Christian Brauner <christian@brauner.io> Cc: David Howells <dhowells@redhat.com>, Markus Suvanto <markus.suvanto@gmail.com>, Marc Dionne <marc.dionne@auristor.com>, Daniil Dulov <d.dulov@aladdin.ru>, linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] afs: Miscellaneous fixes Date: Mon, 19 Feb 2024 14:39:01 +0000 Message-ID: <20240219143906.138346-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791338649086072843 X-GMAIL-MSGID: 1791338649086072843 |
Series |
afs: Miscellaneous fixes
|
|
Message
David Howells
Feb. 19, 2024, 2:39 p.m. UTC
Hi Christian, Here are some fixes for afs, if you could take them? (1) Fix searching for the AFS fileserver record for an incoming callback in a mixed IPv4/IPv6 environment. (2) Fix the size of a buffer in afs_update_volume_status() to avoid overrunning it and use snprintf() as well. The patches can be found here: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes Thanks, David Daniil Dulov (1): afs: Increase buffer size in afs_update_volume_status() Marc Dionne (1): afs: Fix ignored callbacks over ipv4 fs/afs/internal.h | 6 ++---- fs/afs/main.c | 3 +-- fs/afs/server.c | 14 +++++--------- fs/afs/volume.c | 4 ++-- 4 files changed, 10 insertions(+), 17 deletions(-)
Comments
On Mon, 19 Feb 2024 14:39:01 +0000, David Howells wrote: > Here are some fixes for afs, if you could take them? > > (1) Fix searching for the AFS fileserver record for an incoming callback > in a mixed IPv4/IPv6 environment. > > (2) Fix the size of a buffer in afs_update_volume_status() to avoid > overrunning it and use snprintf() as well. > > [...] vfs.fixes means that these things will go in this week. Let me know if this is not what you intended! :) --- Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/2] afs: Fix ignored callbacks over ipv4 https://git.kernel.org/vfs/vfs/c/bfacaf71a148 [2/2] afs: Increase buffer size in afs_update_volume_status() https://git.kernel.org/vfs/vfs/c/6ea38e2aeb72