diff options
Diffstat (limited to 'net/mac80211/mesh.c')
| -rw-r--r-- | net/mac80211/mesh.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 61080c5fad5..859ee5f3d94 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c @@ -8,6 +8,7 @@   * published by the Free Software Foundation.   */ +#include <linux/slab.h>  #include <asm/unaligned.h>  #include "ieee80211_i.h"  #include "mesh.h" @@ -749,9 +750,6 @@ ieee80211_mesh_rx_mgmt(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)  	switch (fc & IEEE80211_FCTL_STYPE) {  	case IEEE80211_STYPE_ACTION: -		if (skb->len < IEEE80211_MIN_ACTION_SIZE) -			return RX_DROP_MONITOR; -		/* fall through */  	case IEEE80211_STYPE_PROBE_RESP:  	case IEEE80211_STYPE_BEACON:  		skb_queue_tail(&ifmsh->skb_queue, skb);  |