[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969365: marked as done (USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken))



Your message dated Thu, 22 Oct 2020 13:45:32 +0200
with message-id <20201022114532.GA1667806@jcristau-z4>
and subject line Re: Bug#965074: cdc_ncm: ethernet multicast traffic is filtered out
has caused the Debian Bug report #965074,
regarding USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965074: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965074
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: linux
Version: 4.19.118-2
Severity: important
Tags: ipv6 upstream fixed-upstream

IPv6 connectivity (and other network protocols relying on multicast) are
broken when using a Dell D6000 USB-C dock.
Quoting Miguel Rodríguez that filed the equivalent bug in ubuntu:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779173:

"Dell D6000 exposes a CDC_NCM device for Ethernet traffic. However,
multicast Ethernet traffic is not processed making IPv6 not functional.
Other services, like mDNS used for LAN service discovery are also
hindered.

The actual reason is that CDC_NCM driver was not processing requests to
filter (admit) multicast traffic. I provide two patches to the linux
kernel that admit all Ethernet multicast traffic whenever a multicast
group is being joined.

The solution is not optimal, as it makes the system receive more traffic
than that strictly needed, but otherwise this only happens when the
computer is connected to a dock and thus is running on AC power. I
believe it is not worth the hassle to join only the requested groups.
This is the same that is done in the CDN_ETHER driver."

The patches proposed by Miguel Rodríguez have been merged upstream, and
are part of 5.9-rc1 now. C.f. commits:
37a2ebdd9e597ae1a0270ac747883ea8f6f767b6
e10dcb1b6ba714243ad5a35a11b91cc14103a9a9
e506addeff844237d60545ef4f6141de21471caf
0226009ce0f6089f9b31211f7a2703cf9a327a01

Cheers,

 -- Santiago

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 5.9.1-1

This is fixed upstream in 5.9.

Cheers,
Julien

On Wed, Jul 15, 2020 at 04:41:55PM +0000, wxcafe wrote:
> Package: linux-image-amd64
> Version: 4.19+105+deb10u4
> Severity: important
> Tags: ipv6
> 
> Hey,
> 
> linux's cdc_ncm driver has a bug with multicast ethernet traffic, which breaks
> mDNS and ipv6, among other things. Miguel Rodríguez Pérez (miguel@det.uvigo.gal)
> wrote patches fixing that two years ago, but they never got merged even though
> as far as I can tell he fixed all the problems mentionned.
> (https://patchwork.kernel.org/project/linux-usb/list/?submitter=181339&state=%2A&archive=both)
> 
> I tried rebasing them on current mainline (5.7.8/5.8.0-rc5) and submit them but
> have been met with a lot of trouble with my formatting, and also don't want to
> use my real name (see https://marc.info/?l=linux-netdev&m=159467301013480&w=2 https://marc.info/?t=159477625000002&r=1&w=2 https://marc.info/?t=159477644000003&r=1&w=2 https://marc.info/?t=159477680800001&r=1&w=2 https://marc.info/?t=159477644200002&r=1&w=2 https://marc.info/?t=159477662400001&r=1&w=2 etc)
> 
> As far as I know nothing should pose any problem with merging these, all the
> objections mentionned in the thread are resolved (as far as I can tell, I'm not
> a kernel dev), they build correctly on mainline, and work well.
> 
> Cheers.
> 
> -- System Information:
> Debian Release: 10.4
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 5.5.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages linux-image-amd64 depends on:
> ii  linux-image-4.19.0-9-amd64  4.19.118-2
> 
> linux-image-amd64 recommends no packages.
> 
> linux-image-amd64 suggests no packages.
> 
> -- no debconf information

--- End Message ---

Reply to: