3b89013d3c3c23c5d27103d448a157faa5ff5ec4
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / subsys / 140-tweak-TSQ-setting.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -4116,6 +4116,12 @@ out:
4 netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
5 struct net_device *dev)
6 {
7 +#if defined(sk_pacing_shift) || LINUX_VERSION_IS_GEQ(4,15,0)
8 + if (skb->sk && sk_fullsock(skb->sk) &&
9 + skb->sk->sk_pacing_shift != 6)
10 + skb->sk->sk_pacing_shift = 6;
11 +#endif
12 +
13 if (unlikely(ieee80211_multicast_to_unicast(skb, dev))) {
14 struct sk_buff_head queue;
15