mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 16:24:03 -05:00
Fixed tx() handler to use GFP_ATOMIC.
This commit is contained in:
parent
de08c7248d
commit
a837861751
@ -113,7 +113,7 @@ static int mac80211_hwsim_tx(struct ieee80211_hw *hw, struct sk_buff *skb,
|
|||||||
if (!data2->radio_enabled || data->freq != data2->freq)
|
if (!data2->radio_enabled || data->freq != data2->freq)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
nskb = skb_copy(skb, GFP_KERNEL);
|
nskb = skb_copy(skb, GFP_ATOMIC);
|
||||||
if (nskb == NULL)
|
if (nskb == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user