Bug 196741
Summary: | iwlwifi: unsolicited multicast traffic still dropped when adapter set to allmulti - WIFILNX-1330 | ||
---|---|---|---|
Product: | Drivers | Reporter: | regwz |
Component: | network-wireless | Assignee: | DO NOT USE - assign "network-wireless-intel" component instead (linuxwifi) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | luca |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.12.8 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | potential fix |
Description
regwz
2017-08-23 14:45:50 UTC
We'll try to reproduce this and debug it. Okay, it seems that we just haven't implemented ALLMULTI in the iwlwifi driver. I'll come up with a patch for it soon. Created attachment 258173 [details]
potential fix
Please try this patch. It should solve the problem with ALLMULTI.
It does indeed work (kernel 4.12.10-1-ARCH with the patch applied). I tested the patch using the original reproduction steps. I also tested that the filter is active again after the ALLMULTI flag is toggled off. While testing the patch in Wireshark, I realized that I should be seeing multicast packets when the interface is set to promiscuous mode (and the allmulticast mode is off). But I didn't see any. I guess the difference is that the promiscuous mode should also turn off the optional broadcast filter (CONFIG_IWLWIFI_BCAST_FILTERING) and the unicast filter (if there is any). Should I file another bug report for that? Again, thanks for reporting and testing! The patch is on its way to the mainline. About promiscuous mode, yes, please file it as a separate bug report and I'll check what we can do about it. Patch merged in our internal tree. It will go upstream soon after the merge window closes. |