Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 2020 23:03:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248494] if_vmx(4) duplicate packets in netmap mode
Message-ID:  <bug-248494-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: murat@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@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.

help

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