lkml.org 
[lkml]   [2022]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next v1] r8152: allow userland to disable multicast
Date
Sven van Ashbrook <svenva@chromium.org>
> Sent: Tuesday, August 30, 2022 1:00 PM
[...]
> The rtl8152 driver does not disable multicasting when userspace asks
> it to. For example:
> $ ifconfig eth0 -multicast -allmulti
> $ tcpdump -p -i eth0 # will still capture multicast frames
>
> Fix by clearing the device multicast filter table when multicast and
> allmulti are both unset.
>
> Tested as follows:
> - Set multicast on eth0 network interface
> - verify that multicast packets are coming in:
> $ tcpdump -p -i eth0
> - Clear multicast and allmulti on eth0 network interface
> - verify that no more multicast packets are coming in:
> $ tcpdump -p -i eth0
>
> Signed-off-by: Sven van Ashbrook <svenva@chromium.org>

Acked-by: Hayes Wang <hayeswang@realtek.com>

Best Regards,
Hayes

\
 
 \ /
  Last update: 2022-08-31 05:17    [W:0.144 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site