From: Jiri Pirko Date: Thu, 4 Mar 2010 11:32:16 +0000 (-0800) Subject: rndis_wlan: correct multicast_list handling V3 X-Git-Tag: v2.6.34-rc2~48^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c3400a84742f8bb0e4edc822e9ccba58781e0c;p=pandora-kernel.git rndis_wlan: correct multicast_list handling V3 My previous patch (655ffee284dfcf9a24ac0343f3e5ee6db85b85c5) added locking in a bad way. Because rndis_set_oid can sleep, there is need to prepare multicast addresses into local buffer under netif_addr_lock first, then call rndis_set_oid outside. This caused reorganizing of the whole function. Signed-off-by: Jiri Pirko Reported-by: Jussi Kivilinna Signed-off-by: David S. Miller --- Reading git-diff-tree failed