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
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;
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);
16 + info = IEEE80211_SKB_CB(skb);
17 memset(info, 0, sizeof(*info));
19 dev->trans_start = jiffies;