add initial support for the crisarchitecture used on foxboards to openwrt
[openwrt-10.03/.git] / package / madwifi / patches / 114-ff_skb_fix.patch
1 diff -ur madwifi.old/net80211/ieee80211_input.c madwifi.dev/net80211/ieee80211_input.c
2 --- madwifi.old/net80211/ieee80211_input.c      2007-06-01 16:44:25.174897520 +0200
3 +++ madwifi.dev/net80211/ieee80211_input.c      2007-06-01 17:43:52.153634328 +0200
4 @@ -685,6 +685,7 @@
5                                 IEEE80211_NODE_STAT(ni, rx_decap);
6                                 goto err;
7                         }
8 +                       skb1 = skb_clone(skb, GFP_ATOMIC);
9  
10                         /* get to the tunneled headers */
11                         ath_hdr = (struct athl2p_tunnel_hdr *)