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: [email protected]
          Reporter: [email protected]

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@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@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@client_bsd12:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to