🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6783

[PATCH net 0/2] vxlan: keep reserved_bits on changelink

#6783
From: Hannes Laimer
Date: Fri, 23 Oct 2026 11:14
22 lines
8725 bytes
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>
Technical Details
Message-ID: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351028-linux-kernel-netdev=dewy.ru

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-351028-linux-kernel-netdev=dewy.ru
From: h.laimer@proxmox.com (Hannes Laimer)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net 0/2] vxlan: keep reserved_bits on changelink
Date: Fri, 23 Oct 2026 13:14:26 +0200
Organization: Usenet Network
Message-ID: <20261023-b4-vxlan-changelink-gbp-v1-0-f0d13951c09b@proxmox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="484090"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Jgk7djnolmyeJaahpupJrVMAAtg= sha256:uXvDD+pyKl81nP4v4/W6WfYxC8mS+07Tl6jWVHwAeb0=
	sha1:FCgpfG5sDPwbVBtynh5ykM6s5DM= sha256:l4UdnXgMDCy6ZHgFLlCT0us9UdygGOKfKMHOwCDqP4Y=
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 B133B111479; Fri, 23 Oct 2026 14:20:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=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-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 suVjj_jgi7hn;
	Fri, 23 Oct 2026 14:19:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351028-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=proxmox.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B64F3111402; Fri, 23 Oct 2026 14:19:53 +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 2EFC4391E2; Fri, 23 Oct 2026 11:15:03 +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=1792754101;
	b=TJrKFnzA2ox8RSCaRvsbuaRMY9e2QEYvFr4LBKBU0CuAIjozuhcqRK4PB8MpX94MMWKR
	 mXh0b2dtCnBhSfjhj4xTwrAcGJ/5nVQKVRwFw1/SvkDt+xUoraz3pCHoVaGw/AHhb5bVW
	 kMyZjzm8ghcjBfumaJWkRFr04iLeGvqrXJeCbNk6tpqZMwBCs52+vY43e+ikLuXynjCQS
	 nkHHTwnXQY5TAWSZg8YlunTaxnf4QjNxeIknvULvSKHOxjo/htKT9lOxiSEAqDJe4HxJk
	 F64g8PiDs29QbSuLdFby1XDm8xWcYP6xQacrUUEYYyH4Bf/eEvMU6aDtL9KTRhaj7xA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792754101;
	h=X-Original-To:Received:DMARC-Filter:Received:From:Subject:Date:
	 Message-Id:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Bm-Milter-Handled:
	 X-Bm-Transport-Timestamp;
	bh=VJ7iCvRg9RnOJ4Ff3zurHi0KjOzE/lesnjDitUS+xUA=;
	b=Q+IXLgqBW0h2WdRWv0cUPowM1LWRK3GykbGCeZRf2BdQ4ug7c7MZVRP5AsIhUT7A/MZe
	 iqnEyhdnaw5Zsr85UevG0u16FkKFjOoq5uMYCeLGtgm5mcEgw1nGdzsEP6hSCBlBHq71S
	 sMzuiY2R6veIgJWhsb8t7I8+dwDs8RULXjmQL29ukhFlTvwyHApWCt+W/XUq4C/naZf7H
	 Mb9J2bs/VudVX5Xs0rXPMtuzTvglHmd9VZ3Z56NjJnK4p/KU7we7/3esQx+1EaN6HGOWm
	 XduEitsh3Ir9Uqyy+sb+gsbR4aepF2R6m/3limP13zbY1CjVrqpipKxtBwMeuKvk3wQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=proxmox.com;
	spf=pass smtp.mailfrom=proxmox.com;
	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 B81D9606A33F;
	Fri, 23 Oct 2026 11:15:01 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=94.136.29.106
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792754101;
	b=IGntRKmNumKbpU/0kjvgj6waZDCPYDorrB11JtLbGvPWknf/2SaCs/Qu0YEuFxMPAJjR
	 VGEtsdp54Kq28iYYlMjS4+vBipMyL62y288gxGOiB8hBDEAZZivFL8rKJM4t6374AMXgU
	 CvyBQNPuuSzNMRX3f2y6VRWDCK2Sk6g0RfYI16GBTeIoSR0eG2snokapiMLTLnUaPgQU+
	 Ua+oYc8guGpL4u3oYzYkNWVikUyStEWrGvbkDSJ9QKdZvqEpkvnFSEW4eTVRW7lh+Drv0
	 ESPxluLocG6snld3NFyAkGVfApYNzMylys1NKls+SMvm/k3WJjbfha9sSsMaFJMlDsA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792754101;
	h=DMARC-Filter:Received:From:Subject:Date:Message-Id:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:
	 Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Bm-Milter-Handled:
	 X-Bm-Transport-Timestamp;
	bh=VJ7iCvRg9RnOJ4Ff3zurHi0KjOzE/lesnjDitUS+xUA=;
	b=YOYGEBILolEzPAMQmCibVy7a7C768VuuGQDrXmwnVK4rmqHZnkEi6p0PQjRccOPpkn8/
	 0ER3lrbP9CiOQOTdTnuXnfIrN7SU7SysHb0Qy7IpDSy6Ac2l8mSq8EirBxyxAEolcuf4C
	 hla7FittnHX9INWR1GSE1OqC5h0tFcmn6sxdsrYVV7ryBeIjRgcck1mUiFQVlxSA470Pg
	 gR8s402WeQCl9bgrYWDkhErOEWX2Zr+TuYSUty3OYtdTbapVNXA0zjl20e13/CESlSroi
	 2hg3LFozkWVnURNFgJopkOJLiUAfC7EKzTM9qMldPGykaUhU3PpaEzCmi8fycXT5IqQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=proxmox.com;
	spf=pass smtp.mailfrom=proxmox.com;
	arc=none smtp.remote-ip=94.136.29.106
X-Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDFB3606A31D;
	Fri, 23 Oct 2026 11:14:59 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CDFB3606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=proxmox.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proxmox.com
X-Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
	by proxmox-new.maurer-it.com (Proxmox) with ESMTP id D62B645DC6;
	Fri, 23 Oct 2026 13:14:57 +0200 (CEST)
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-B4-Tracking: v=1; b=H4sIAJJB22oC/yWM0QqDMBAEf0XuuQcmrSL9ldIHY1Y9laskKoL47
 03r4+wyc1BEEER6ZgcFbBLlownMLaOmr7UDi09MNrelye2d3YO3faqVr3sSHblzM3sUqAzgK28
 o2XNAK/u//CLFQu9rjKsb0Cy/Jp3nF1Fon8uAAAAA
X-Change-ID: 20261023-b4-vxlan-changelink-gbp-de5e81eed8d1
X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 
 linux-kselftest@vger.kernel.org, Hannes Laimer <h.laimer@proxmox.com>
X-Mailer: b4 0.16-dev-4217c
X-Developer-Signature: v=1; a=openpgp-sha256; l=855; i=h.laimer@proxmox.com;
 h=from:subject:message-id; bh=8OhAupMg1xmd2XfvSuc1zQ7gZFbk6qz3UedeRwYzeMw=;
 b=owGbwMvMwCU2e2Iv83RDTSPG02pJDFm3HTf0GG/+8TVoimGPwzb/EpOn6rvWh/lKv1jBLjJlW
 fzhfbzLOkpZGMS4GGTFFFku2+//Oqt3apzR6c1cMHNYmUCGMHBxCsBEuFUZGRaeFQ5hNNyxPtVK
 gG0794w5dyffOl9tL/5EcVGNqJLohBqG/6EdBw9+PVCdr58nb8lqwdKa5Tw3OdjSRfeunH9vhNU
 GZgA=
X-Developer-Key: i=h.laimer@proxmox.com; a=openpgp;
 fpr=64D04F905C35D23EBE24D079FA418E647F2175D1
X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2
X-Bm-Transport-Timestamp: 1792754097328