[PATCH net] net_sched: fq: take care of throttled flows before reuse

2018-05-02 Thread Eric Dumazet
Normally, a socket can not be freed/reused unless all its TX packets left qdisc and were TX-completed. However connect(AF_UNSPEC) allows this to happen. With commit fc59d5bdf1e3 ("pkt_sched: fq: clear time_next_packet for reused flows") we cleared f->time_next_packet but took no special action if

Re: [PATCH net] net_sched: fq: take care of throttled flows before reuse

2018-05-02 Thread David Miller
From: Eric Dumazet Date: Wed, 2 May 2018 10:03:30 -0700 > Normally, a socket can not be freed/reused unless all its TX packets > left qdisc and were TX-completed. However connect(AF_UNSPEC) allows > this to happen. > > With commit fc59d5bdf1e3 ("pkt_sched: fq: clear time_next_packet for > reuse