Search Linux Wireless

Re: [PATCH 06/13 v2] o11s: support for mesh interfaces in mac80211 data path

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

 



> +#ifdef CONFIG_MAC80211_MESH
> +#include "mesh.h"
> +#endif

same here.

> @@ -1474,8 +1512,8 @@ int ieee80211_subif_start_xmit(struct sk_buff *skb,
>          * EAPOL frames from the local station.
>          */
>         if (unlikely(!is_multicast_ether_addr(hdr.addr1) &&
> -                    !(sta_flags & WLAN_STA_AUTHORIZED) &&
> -                    !(ethertype == ETH_P_PAE &&
> +                     !(sta_flags & WLAN_STA_AUTHORIZED) &&
> +                     !(ethertype == ETH_P_PAE &&
>                        compare_ether_addr(dev->dev_addr,
>                                           skb->data + ETH_ALEN) == 0))) {
>  #ifdef CONFIG_MAC80211_VERBOSE_DEBUG 

?

> +#ifdef CONFIG_MAC80211_MESH
> +static struct sk_buff *ieee80211_mesh_beacon_get(struct net_device *dev)
> +{
> +	struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
> +	struct sk_buff *skb = dev_alloc_skb(local->hw.extra_tx_headroom + 400);

What's 400? No way to know how large it'll get?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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