WANG Cong
d744318574
net_sched: fix a use-after-free in tc_ctl_tfilter()
...
When tcf_destroy() returns true, tp could be already destroyed,
we should not use tp->next after that.
For long term, we probably should move tp list to list_head.
Fixes: 1e052be69d04 ("net_sched: destroy proto tp when all filters are gone")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-09 16:14:04 -04:00
..
2014-09-30 01:02:26 -04:00
2015-04-16 14:08:49 -04:00
2015-04-29 14:56:40 -04:00
2015-01-13 17:51:08 -05:00
2014-11-06 15:04:41 -05:00
2014-11-06 15:04:41 -05:00
2015-04-17 13:29:28 -04:00
2014-02-12 19:23:32 -05:00
2014-11-06 15:04:41 -05:00
2014-11-06 15:04:41 -05:00
2014-11-06 15:04:41 -05:00
2014-02-12 19:23:32 -05:00
2014-11-21 14:20:18 -05:00
2015-05-09 16:14:04 -04:00
2015-03-09 15:35:55 -04:00
2015-04-16 14:08:49 -04:00
2015-03-09 15:35:55 -04:00
2015-03-09 15:35:55 -04:00
2015-03-09 15:35:55 -04:00
2015-03-09 15:35:55 -04:00
2015-03-09 15:35:55 -04:00
2015-03-09 15:35:55 -04:00
2015-03-20 18:51:09 -04:00
2014-10-06 18:02:32 -04:00
2015-01-13 17:51:08 -05:00
2015-01-13 17:51:08 -05:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2015-02-20 15:30:56 -05:00
2015-02-19 10:36:45 -08:00
2015-01-19 16:02:06 -05:00
2015-03-09 15:35:55 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2015-05-03 22:17:40 -04:00
2014-09-30 01:02:26 -04:00
2015-01-13 17:51:08 -05:00
2014-09-30 01:02:26 -04:00
2015-05-03 22:17:40 -04:00
2015-04-01 22:52:29 -04:00
2014-10-09 19:12:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2015-04-13 13:34:40 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2015-04-07 18:34:24 -04:00
2014-10-29 14:28:01 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-09-30 01:02:26 -04:00
2014-10-06 00:55:10 -04:00
2015-01-13 17:51:08 -05:00