diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 20a90b16eb4d..3a421a04cbec 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2864,6 +2864,12 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb, | |||
2864 | goto out; | 2864 | goto out; |
2865 | } | 2865 | } |
2866 | 2866 | ||
2867 | /* we cannot process non-linear frames on this path */ | ||
2868 | if (skb_linearize(skb)) { | ||
2869 | kfree_skb(skb); | ||
2870 | goto out; | ||
2871 | } | ||
2872 | |||
2867 | /* the frame could be fragmented, software-encrypted, and other things | 2873 | /* the frame could be fragmented, software-encrypted, and other things |
2868 | * so we cannot really handle checksum offload with it - fix it up in | 2874 | * so we cannot really handle checksum offload with it - fix it up in |
2869 | * software before we handle anything else. | 2875 | * software before we handle anything else. |