[Bug 248494] if_vmx(4) duplicate packets in netmap mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 5 23:03:15 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248494

            Bug ID: 248494
           Summary: if_vmx(4) duplicate packets in netmap mode
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: murat at balaban.io

Created attachment 217042
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217042&action=edit
ICMP DUP packets

scp'in a file stalls due to DUP packets if the interface is if_vmx(4); and it
is opened in NETMAP mode,

Steps to reproduce:

ifconfig vmx0 -vlanhwtso -vlanhwfilter -vlanhwtag -vlanhwcsum -txcsum -rxcsum
-tso4 -tso6 -lro -txcsum6 -rxcsum6

./bridge -i netmap:vmx0 -i netmap:vmx0^

Copy a file which makes use of the vmx0 interface:

scp file root at gw:

Connection will stall. 

Interestingly PINGs seem to be OK until you start scp'in the file. Then they
both start getting DUP packets.  

Please see attached PCAP file and the pic.

Environment:

root at OPNsense:~ # uname -a
FreeBSD OPNsense.localdomain 12.1-STABLE FreeBSD 12.1-STABLE #2
677f5a8efda(stable/12)-dirty: Tue Aug  4 14:55:58 PDT 2020    
root at client_bsd12:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

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


More information about the freebsd-bugs mailing list