Article View: linux.kernel.netdev
Article #7324Re: [PATCH net 0/2] vxlan: keep reserved_bits on changelink
From: Hangbin Liu
Date: Mon, 26 Oct 2026 05:36
Date: Mon, 26 Oct 2026 05:36
27 lines
9352 bytes
9352 bytes
On Fri, Oct 23, 2026 at 01:14:26PM +0200, Hannes Laimer wrote: > Currently reserved_bits are reset on every changelink. This leads to > packets using extensions that were enabled on creation being dropped > after a changelink. The first commit describes the problem and > solution in more detail and the second just adds a selftest for this. > > Signed-off-by: Hannes Laimer <h.laimer@proxmox.com> > --- > Hannes Laimer (2): > vxlan: keep reserved_bits across changelink > selftests: forwarding: vxlan_reserved: add gbp changelink test > > drivers/net/vxlan/vxlan_core.c | 2 +- > tools/testing/selftests/net/forwarding/vxlan_reserved.sh | 15 +++++++++++++++ > 2 files changed, 16 insertions(+), 1 deletion(-) > --- > base-commit: 734bef548a96e8774d6eef5dfa2026c6edc4e80b > change-id: 20261023-b4-vxlan-changelink-gbp-de5e81eed8d1 > > Best regards, > -- > Hannes Laimer <h.laimer@proxmox.com> > > Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Technical Details
Message-ID:
<at7mzU0z89CVdjki@fedora>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351693-linux-kernel-netdev=dewy.ruReferences:
<20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351693-linux-kernel-netdev=dewy.ru From: hangbin.liu@linux.dev (Hangbin Liu) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 0/2] vxlan: keep reserved_bits on changelink Date: Mon, 26 Oct 2026 13:36:13 +0800 Organization: Usenet Network Message-ID: <at7mzU0z89CVdjki@fedora> References: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1232009"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:7/eJHmXT26NJEFeiaSzYmcCIMvg= sha256:GPQitewUthPHdKi6j0pzghDEE1TU8V7vuvanW0KYDxE= sha1:usE7mq0k/5csK3OAS4cwHhQ7kwE= sha256:+zKoX9WMfUNk7QI2VtCgLDvUN8dc5SGVllncvlKH0d8= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id D2730125B8A; Mon, 26 Oct 2026 08:37:42 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=linux.dev X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id viBUZpZYDes4; Mon, 26 Oct 2026 08:37:39 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351693-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id AEC88125B87; Mon, 26 Oct 2026 08:37:29 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 123903ECF4; Mon, 26 Oct 2026 05:36:36 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792992995; b=g93Gv1hsCxGoik37xnVOux+/DpbToQJ8VFuY/9EZK5ahLg0vsI7XR6IVGTeygmeqfjnG XCvtm6l8/UrDXEDxI0+G3leAoYi10K/ceOQQoBxSGm13+bHAS0v6UrIXn5QSTlcIebDd7 EBHuZJpTzO3SnukMaoupTu+VcgS3SJaa6KnEIIXJsxf11Bx6u4LjjwYRD9f+rs0G9WkUO mSOdbhCshbEM2MIbV1a/1a7xSOjMdxpcUsJ52IkKNjAq5wNkDUyfo3DCx5Bap0fAu9MsS AZ4DiDCoaeRlhXND5lGchc/WuAOpnvVqzkmnWQks9aiWkbTqYgJd68z662yoI0wECIg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792992995; h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature: X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4FzJ80Q5D/VPRLbKelDy3UZsEYnGkuTYp52tkB+Plws=; b=EGox8VhGh91AsGUclcLLeh+W5FvbMIy5L+Y7kTHZiExCva+ELB9ytRxhJhlhOsgNeX5Y /Y5Cq7pD7MbZ5vsEl8iFMq7LOY1Qr5goImTsUiYbkjY1gKO/UTGJh6fbPpnw9xHaRtg1W CAkk1xyjo9EMhAIVSSzEYA2GEBpoSA2AqZpBkRrifQrfN6vRxmTqSEqGe21t2YD3IXOMm Z9hN1cRO4c5wwvrOjYh+iTE4p972TICSlj7iCvvlG8SuGRuz/SgN7a4eVI+cvfEIpXHFx nuqARkc2ov9jLWsDcU6U/R4nxFobXyc+NA7uI0tpwbdld4zLtYbtnB7vU6MAaG4/ZPA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=tRRbi7yy; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFD05606A324; Mon, 26 Oct 2026 05:36:35 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=tRRbi7yy X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.156 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792992989; b=YqpMePSS8ZaBz7j5rJbEuzhY6Q/FQyyetLdev0siIWvlNzGwSPKBzjfXq/aF15Hy6uts vG3nvwY+5kDrqPGdD99R3DB7+WuMtOADrauNISwo0EoDmc2F+ucpa9drtKQBVgZpf0/AH yaMf9JLdxc5ipF+ZOz9zIKcwz1alK66ypdE6V168gov/Xn5hTZNhhc3zGJ6BfraWAfGo2 0v2ERYoqMzQ7i+zt/VDDrOfIju0KDbns7fzUrK8FYxDjNyo7KxedLJ36AqepueW8Day3U JtkP1dGphS6FiXrLwtCNlpL/AxzxmMw7S1Foaoyx39g2Vt2+vHaC8gJTFtR/lIdcEhg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792992989; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4FzJ80Q5D/VPRLbKelDy3UZsEYnGkuTYp52tkB+Plws=; b=Kka3g7vYi+57Gvu8qwn2BogPzuU0zmU7jqIsWZU2/IlUe2MCVbUa/FLQBonQa8Njz7kN gMztpvGT4Bz3vdEp73pRqo2VtmXUmZsIQrZlSkf+YHsMxA1iMm4o2jbNpB+qRQ+B9UyVQ iPrbSuhWMjtfHaanvn//B5XplycMkRvD5+zyCT1oM7Ah3JH70dMMe+dkSY8Wby+ZVXqrT /rApdGurWpiZUA2j5VwN2nlmUeq6lg1BXXbtkYELQp6CFR1plNi69t3E3Ahnl5rmQvX0s J0DXPtMAac+LKYvYbGk08VjLyPVRfC52TWE1IIsRlNx90U3t7thJAZYYoGyh6IGeiDA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; arc=none smtp.remote-ip=91.218.175.156 X-Received: from mta0.migadu.com (out-156.mta0.migadu.com [91.218.175.156]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBCD6606A321 for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 05:36:27 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DBCD6606A321 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: netdev@vger.kernel.org X-DKIM-Signature: a=rsa-sha256; bh=IKpBcbwGcEt6VGnkPgPXGL4icYZfO5gorFdDU5Rf/FY=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1792992985; v=1; x=1793597785; b=tRRbi7yy8SJo8ciJTUdPXbaOm+5p5NTFyG0G676n7F0K2cId8wczbUoPtmsLOROASobAwUoq 1O2iARQbikjoDwAd3Z5lWPf+teoXg1euUsokLpxKB4Ve44bMbNrDiL2ENCCELbgvWfnhaRv8HF7 dgcXA3kHOavFi6tVCCVQtyJg= X-Envelope-To: netdev@vger.kernel.org X-Received: by mta10.migadu.com with ESMTPS id c7a288749cf7c812; Mon, 26 Oct 2026 05:36:25 +0000 X-Mizu-Trace-ID: c7a288749cf7c812 X-Migadu-Flow: FLOW_OUT X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Nikolay Aleksandrov <razor@blackwall.org>, Ido Schimmel <idosch@nvidia.com>, Petr Machata <petrm@nvidia.com>, David Ahern <dsahern@kernel.org>, Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>