Search Linux Wireless

Re: [PATCH] mac80211: Stop forwarding mesh traffic when tx queues are full

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

 



On Thu, 2011-09-01 at 13:05 -0700, Javier Cardona wrote:

> --- a/net/mac80211/rx.c
> +++ b/net/mac80211/rx.c
> @@ -1847,6 +1847,12 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx)
>  		/* illegal frame */
>  		return RX_DROP_MONITOR;
>  
> +	if (local->queue_stop_reasons[skb_get_queue_mapping(skb)]) {
> +		IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh,
> +						dropped_frames_congestion);
> +		return RX_DROP_MONITOR;
> +	}

It's probably not terribly important, but shouldn't the
queue_stop_reasons access be locked?

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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux