Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67953 > unrolled thread

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

Started by"Santiago R.R." <santiagorr@riseup.net>
First post2020-09-01 13:10 +0200
Last post2020-10-22 13:50 +0200
Articles 4 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#969365: USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken) "Santiago R.R." <santiagorr@riseup.net> - 2020-09-01 13:10 +0200
    Bug#969365: USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken) Bjørn Mork <bjorn@mork.no> - 2020-09-01 14:10 +0200
    Bug#969365: USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken) Salvatore Bonaccorso <carnil@debian.org> - 2020-09-01 22:00 +0200
    Bug#969365: marked as done (USB-C dock lacks multicast Ethernet  functionality (so IPv6 is broken)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-10-22 13:50 +0200

#67953 — Bug#969365: USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken)

From"Santiago R.R." <santiagorr@riseup.net>
Date2020-09-01 13:10 +0200
SubjectBug#969365: USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken)
Message-ID<AKckN-1VP-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [next] | [standalone]


#67954

FromBjørn Mork <bjorn@mork.no>
Date2020-09-01 14:10 +0200
Message-ID<AKdgR-2uq-13@gated-at.bofh.it>
In reply to#67953
"Santiago R.R." <santiagorr@riseup.net> writes:

> 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

Note that

 5fd99b5d9950 ("net: cdc_ncm: Fix build error")

should be included in this series for completeness.

It won't make any difference with the default Debian configuration,
where cdc_ether always is enabled, but it was an unfortunate glitch on
my side.


Bjørn

[toc] | [prev] | [next] | [standalone]


#67958

FromSalvatore Bonaccorso <carnil@debian.org>
Date2020-09-01 22:00 +0200
Message-ID<AKkBH-6Ds-1@gated-at.bofh.it>
In reply to#67953
Hi Santiago,

On Tue, Sep 01, 2020 at 01:01:27PM +0200, Santiago R.R. wrote:
> 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

Thanks for the report, if I'm not mistaken this is the same as
#965074. Can you request upstream backports of the needed fixes into
the applicable stable releases (and as I understand you back to
v4.19.y)?

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-10-22 13:50 +0200
SubjectBug#969365: marked as done (USB-C dock lacks multicast Ethernet functionality (so IPv6 is broken))
Message-ID<B2Hgu-1WQ-11@gated-at.bofh.it>
In reply to#67953

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web