Eric Dumazet
7df40c2673
net_sched: fq: take care of throttled flows before reuse
...
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 fc59d5bdf1
("pkt_sched: fq: clear time_next_packet for
reused flows") we cleared f->time_next_packet but took no special
action if the flow was still in the throttled rb-tree.
Since f->time_next_packet is the key used in the rb-tree searches,
blindly clearing it might break rb-tree integrity. We need to make
sure the flow is no longer in the rb-tree to avoid this problem.
Fixes: fc59d5bdf1
("pkt_sched: fq: clear time_next_packet for reused flows")
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-05-02 16:37:38 -04:00
..
2018-04-01 19:49:34 -04:00
2018-04-05 22:26:06 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-04-22 21:12:00 -04:00
2018-03-27 13:18:09 -04:00
2017-12-13 13:18:46 -05:00
2017-10-12 22:13:20 -07:00
2017-12-13 13:18:46 -05:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-02-06 16:41:26 -05:00
2018-02-06 16:41:26 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:09 -05:00
2018-03-08 12:16:29 -05:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:10 -05:00
2018-01-24 16:01:09 -05:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2018-01-24 16:01:09 -05:00
2018-01-24 16:01:09 -05:00
2018-04-07 12:36:45 -04:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2018-02-21 13:15:33 -05:00
2017-07-01 07:39:08 -07:00
2018-01-24 14:52:40 -05:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-10-16 21:00:40 +01:00
2018-02-21 13:15:33 -05:00
2018-02-21 13:15:33 -05:00
2018-03-27 13:18:09 -04:00
2017-12-21 12:32:51 -05:00
2016-06-25 12:19:35 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-05-02 16:37:38 -04:00
2018-03-26 12:36:23 -04:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:50 -05:00
2018-04-01 20:53:50 -04:00
2018-01-17 14:53:57 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-03-07 11:18:14 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2018-02-28 12:06:01 -05:00
2017-12-21 12:32:51 -05:00
2018-01-17 14:29:32 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-03-04 17:49:17 -05:00
2017-12-21 12:32:50 -05:00