Search Linux Wireless

Re: [PATCH 2.6.33] mac80211: fix skb buffering issue

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

 



On Wed, Jan 06, 2010 at 11:31:10PM +0100, Sedat Dilek wrote:

> Why are there two different ".ndo_set_mac_address" in [1]?
> 
>  static const struct net_device_ops ieee80211_dataif_ops = {
> ...
>  	.ndo_set_mac_address 	= ieee80211_change_mac,
> +	.ndo_select_queue	= ieee80211_netdev_select_queue,
>  };
> 
>  static const struct net_device_ops ieee80211_monitorif_ops = {
> ...
>  	.ndo_set_mac_address 	= eth_mac_addr,
> +	.ndo_select_queue	= ieee80211_monitor_select_queue,
>  };

Because a different queue selection algorithm is needed for
monitor (ieee80211_monitor_select_queue) and non-monitor
(ieee80211_netdev_select_queue) interfaces.  The commit message
mentions this.
--
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