diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 90ee23550033..d2b4b67a7b53 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1934,7 +1934,7 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, | |||
1934 | */ | 1934 | */ |
1935 | if (skb_shared(skb)) { | 1935 | if (skb_shared(skb)) { |
1936 | tmp_skb = skb; | 1936 | tmp_skb = skb; |
1937 | skb = skb_copy(skb, GFP_ATOMIC); | 1937 | skb = skb_clone(skb, GFP_ATOMIC); |
1938 | kfree_skb(tmp_skb); | 1938 | kfree_skb(tmp_skb); |
1939 | 1939 | ||
1940 | if (!skb) { | 1940 | if (!skb) { |