From nobody Wed Aug 23 04:46:48 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RVtwS3LrDz4r3sc for ; Wed, 23 Aug 2023 04:46:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RVtwS0slRz3dXc for ; Wed, 23 Aug 2023 04:46:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692766008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LGeF8BzohDeHDSPsHCc8BdQTnzW5k8124wa1XGrBBFI=; b=W64hGigfBZrph2fFVJ8S50j/2MUd0CAuxDJIsQShimo1AYRHiuvg6oevs06FVNcZWXwDuv h4d7N8MEeSfuznnfEr+9WJWR2IGyaKlIkOdoSoYGLx1yHKSyga8EsFiVl30+DGMfAgwkAd HHFnAW1yBsIfdUyV+uHOqX4AmeHHWhBP+KABzVb/dIi+DGFUn/qGqoXCFHGDFq67QerML0 eEqxe31Mt1nGiKgjEmdFmx8tsXf0skU81yu3SieKfBTxkR3L4wkCKDjPaY1kEkTDnX2drR 3OqsdErMauzcF5wHlcyOJXDuCKxuL6WfHfKIBQBxlIcqPH5iTduDHzlT9351tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692766008; a=rsa-sha256; cv=none; b=bcTeSclmww9lw9UhBCM8pE56iaG7skLgtVuwhSYhoqudtxRDkThlZa8b5HToZZKXOEXraB BnVYZAk6uXXrEHqVQE6Dz2eUxtzHQT6L9WpdAzimWXD5JiFjQ4nxt1zV4np8uxcJsjE78P +S4WebaRvqPV/ycGFH2KHtsfYh3CEb7e5YKF0pTNEUeak9nM3pj0W3uY1yjjCi1h47ZSb6 mUi3fjtJl11oe3BvmelRmWK92a1gLe9dpbe94kmLd1fMKRb5XuaV6Dvewqb9pZCZZMpjLL /m1rC5ZeGPan9iTvakhIwB8+sIfxsG+VQr9Y80PUBV61//Lu8zBnaYLBIvm4aw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RVtwR6qlrzXPP for ; Wed, 23 Aug 2023 04:46:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37N4klFP092297 for ; Wed, 23 Aug 2023 04:46:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37N4klGj092296 for bugs@FreeBSD.org; Wed, 23 Aug 2023 04:46:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273304] Regression: if_vlan(4): Vlan interface's PCP (priority code point) got overwritten when sending packets with custom PCP Date: Wed, 23 Aug 2023 04:46:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273304 Bug ID: 273304 Summary: Regression: if_vlan(4): Vlan interface's PCP (priority code point) got overwritten when sending packets with custom PCP Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: zlei@FreeBSD.org Spot this while testing function of PCP. Reported here in case someone else encounter the same issue. Steps to repeat: 1. Create vlan interface with vlanpcp 2. Send ICMP requests with custom PCP 3. Verify the vlan interface's vlanpcp, it should not be altered Snip to simplify the repeat: ``` # ifconfig epair create epair0a # ifconfig epair0a.10 create vlanpcp 7 inet 192.0.2.1/24 # jail -ic vnet persist 1 # ifconfig epair0b vnet 1 # jexec 1 ifconfig epair0b up # jexec 1 ifconfig epair0b.10 create inet 192.0.2.2/24 # ping -C1 -c1 -t1 -q 192.0.2.2 # ifconfig epair0a.10 | grep vlanpcp vlan: 10 vlanproto: 802.1q vlanpcp: 1 parent interface: epair0a ``` --=20 You are receiving this mail because: You are the assignee for the bug.=