Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2023 04:46:48 +0000
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
Message-ID:  <bug-273304-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273304-227>