|
@@ -2472,7 +2472,8 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx)
|
|
if (!ifmsh->mshcfg.dot11MeshForwarding)
|
|
if (!ifmsh->mshcfg.dot11MeshForwarding)
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
- fwd_skb = skb_copy_expand(skb, local->tx_headroom, 0, GFP_ATOMIC);
|
|
|
|
|
|
+ fwd_skb = skb_copy_expand(skb, local->tx_headroom +
|
|
|
|
+ sdata->encrypt_headroom, 0, GFP_ATOMIC);
|
|
if (!fwd_skb) {
|
|
if (!fwd_skb) {
|
|
net_info_ratelimited("%s: failed to clone mesh frame\n",
|
|
net_info_ratelimited("%s: failed to clone mesh frame\n",
|
|
sdata->name);
|
|
sdata->name);
|