[Bug 271883] ixv(4): Do not share shadow VFTA table among all ixv instances.

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jun 2023 14:41:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271883

            Bug ID: 271883
           Summary: ixv(4): Do not share shadow VFTA table among all ixv
                    instances.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: naito.yuichiro@gmail.com

Created attachment 242659
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242659&action=edit
ixv_separate_vfta.patch

'ixv_shadow_vfta' table is statically allocated in ixv(4) source, so it's
shared among all ixv interfaces. One ixv vlan setting affects to another
ixv interfaces.

Following scenario will happen.

1. create ixv0.10
2. create ixv1.10
3. destroy ixv1.10
4. create ixv0.11
5. ixv0.10 no longer receives vlan 10 packets.

In this case, destroying ixv1.10 affects to ixv0.
Please apply 'ixv_separate_vfta.patch'. Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.