tools/mkimage: remove the broken portability patch, it is no longer necessary with...
[openwrt.git] / package / mac80211 / patches / 541-mac80211_fix_skb_copy_crash.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -1748,7 +1748,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
4 {
5 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
6 struct ieee80211_local *local = sdata->local;
7 - struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
8 + struct ieee80211_tx_info *info;
9 int ret = NETDEV_TX_BUSY, head_need;
10 u16 ethertype, hdrlen, meshhdrlen = 0;
11 __le16 fc;
12 @@ -2039,6 +2039,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
13 skb_set_network_header(skb, nh_pos);
14 skb_set_transport_header(skb, h_pos);
15
16 + info = IEEE80211_SKB_CB(skb);
17 memset(info, 0, sizeof(*info));
18
19 dev->trans_start = jiffies;
This page took 0.041444 seconds and 5 git commands to generate.