diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-01 18:25:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-01 18:25:18 +0000 |
commit | 6807ed16ee3d6ca7ef030b10ecbaf3852f325f1d (patch) | |
tree | 6d7b0dcbfb98cf555c19baac687c768a17d413a9 /package | |
parent | 7c60834086e272ceeff611e15a690a19952836e6 (diff) | |
download | master-187ad058-6807ed16ee3d6ca7ef030b10ecbaf3852f325f1d.tar.gz master-187ad058-6807ed16ee3d6ca7ef030b10ecbaf3852f325f1d.tar.bz2 master-187ad058-6807ed16ee3d6ca7ef030b10ecbaf3852f325f1d.zip |
madwifi: fix a crash in ff handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7435 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/114-ff_skb_fix.patch | 11 |
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 *) |