aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-01 18:25:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-01 18:25:18 +0000
commitf5a01c755684fd6707fab20c208c68c7a3760f95 (patch)
tree4831a3b2c05946d7b1240063a87146eb8f46c37c /package
parent99c170db7cd427aa0a849126f75ba2c966f239c6 (diff)
downloadupstream-f5a01c755684fd6707fab20c208c68c7a3760f95.tar.gz
upstream-f5a01c755684fd6707fab20c208c68c7a3760f95.tar.bz2
upstream-f5a01c755684fd6707fab20c208c68c7a3760f95.zip
madwifi: fix a crash in ff handling
SVN-Revision: 7435
Diffstat (limited to 'package')
-rw-r--r--package/madwifi/patches/114-ff_skb_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/114-ff_skb_fix.patch b/package/madwifi/patches/114-ff_skb_fix.patch
new file mode 100644
index 0000000000..059afb826b
--- /dev/null
+++ b/package/madwifi/patches/114-ff_skb_fix.patch
@@ -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 *)