madwifi: fix a crash in ff handling

SVN-Revision: 7435
lede-17.01
Felix Fietkau 2007-06-01 18:25:18 +00:00
parent 99c170db7c
commit f5a01c7556
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -ur madwifi.old/net80211/ieee80211_input.c madwifi.dev/net80211/ieee80211_input.c
--- madwifi.old/net80211/ieee80211_input.c 2007-06-01 16:44:25.174897520 +0200
+++ madwifi.dev/net80211/ieee80211_input.c 2007-06-01 17:43:52.153634328 +0200
@@ -685,6 +685,7 @@
IEEE80211_NODE_STAT(ni, rx_decap);
goto err;
}
+ skb1 = skb_clone(skb, GFP_ATOMIC);
/* get to the tunneled headers */
ath_hdr = (struct athl2p_tunnel_hdr *)