Search Linux Wireless

Re: [PATCH v3 2/2] mac80211: fix num_mcast_sta counting issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2012-04-21 at 23:42 +0200, Felix Fietkau wrote:

>  			rcu_assign_pointer(vlansdata->u.vlan.sta, sta);
> +			new_4addr = true;
>  		}
>  
> +		if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
> +		    sta->sdata->u.vlan.sta)
> +			prev_4addr = true;

Doesn't that have to be before the assignment or something, otherwise
it's always just true unless it was moved back to the AP iface, but
still true if it was just assigned to an AP_VLAN iface?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux