mac80211: set noscan=1 if sta/adhoc/mesh interfaces are present
[openwrt/staging/nbd.git] / package / kernel / mac80211 / patches / 220-fq_disable_hack.patch
1 mac80211 fq has been found to cause a regression in multi-stream TCP
2 performance. Disable it until the cause has been found and fixed
3
4 --- a/include/net/fq_impl.h
5 +++ b/include/net/fq_impl.h
6 @@ -104,6 +104,9 @@ static struct fq_flow *fq_flow_classify(
7
8 lockdep_assert_held(&fq->lock);
9
10 + /* HACK: disable fq for now until TCP issues are fixed */
11 + return get_default_func(fq, tin, 0, skb);
12 +
13 hash = skb_get_hash_perturb(skb, fq->perturbation);
14 idx = reciprocal_scale(hash, fq->flows_cnt);
15 flow = &fq->flows[idx];