[NET]: Messed multicast lists after dev_mc_sync/unsync
Commit a0a400d79e3dd7843e7e81baa3ef2957bdc292d0 ("[NET]: dev_mcast:
add multicast list synchronization helpers") from you introduced a new
field "da_synced" to struct dev_addr_list that is not properly
initialized to 0. So when any of the current users (8021q, macvlan,
mac80211) calls dev_mc_sync/unsync they mess the address list for both
devices.
The attached patch fixed it for me and avoid future problems.
Signed-off-by: Jorge Boncompte [DTI2] <email address hidden>
Signed-off-by: Patrick McHardy <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
Hi Jeremy,
Thanks for the report. I'm including the upstream git commit id and summary for the kernel team to reference and cherrypick. Thanks.
commit 12aa343add3eced 38a44bdb612b35f df634d918c
Author: Jorge Boncompte [DTI2] <email address hidden>
Date: Tue Feb 19 14:17:04 2008 -0800
[NET]: Messed multicast lists after dev_mc_sync/unsync
Commit a0a400d79e3dd78 43e7e81baa3ef29 57bdc292d0 ("[NET]: dev_mcast:
add multicast list synchronization helpers") from you introduced a new
field "da_synced" to struct dev_addr_list that is not properly
initialized to 0. So when any of the current users (8021q, macvlan,
mac80211) calls dev_mc_sync/unsync they mess the address list for both
devices.
The attached patch fixed it for me and avoid future problems.
Signed-off-by: Jorge Boncompte [DTI2] <email address hidden>
Signed-off-by: Patrick McHardy <email address hidden>
Signed-off-by: David S. Miller <email address hidden>