]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NET: Messed multicast lists after dev_mc_sync/unsync
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Wed, 5 Mar 2008 22:47:01 +0000 (14:47 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:05 +0000 (11:47 -0700)
commit53a8bf30f67d9a10e1b8e0adfed889d3a5694813
treee49d0f8f119d97516345adfcf4543173292fbcac
parent887b7b08e75ee7dae5da7924291cd90d4bcb5b40
NET: Messed multicast lists after dev_mc_sync/unsync

Upstream commit: 12aa343add3eced38a44bdb612b35fdf634d918c

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] <jorge@dti2.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/core/dev.c