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
..
2015-02-14 23:08:44 +01:00
2015-04-18 17:45:30 -04:00
2015-03-02 16:43:41 -05:00
2015-04-02 14:05:00 -04:00
2015-03-03 17:01:37 -05:00
2015-04-15 09:00:47 -07:00
2015-03-05 13:17:39 -05:00
2015-04-02 14:04:59 -04:00
2015-04-30 18:45:27 +02:00
2015-04-29 14:59:16 -04:00
2015-03-20 18:51:09 -04:00
2015-04-01 11:28:22 +02:00
2015-04-22 18:33:43 +03:00
2015-05-04 14:57:59 -04:00
2015-03-06 21:50:02 -05:00
2015-04-24 11:39:15 -04:00
2015-04-07 15:25:55 -04:00
2014-10-01 00:44:04 +10:00
2015-04-29 15:35:04 -04:00
2015-03-03 17:01:38 -05:00
2015-03-01 13:40:23 -05:00
2015-04-30 18:48:11 +02:00
2015-05-05 19:50:09 -04:00
2015-05-09 15:58:41 -04:00
2015-03-02 13:06:31 -05:00
2015-03-09 23:38:02 -04:00
2015-04-02 16:16:53 -04:00
2015-03-31 13:58:35 -04:00
2015-04-06 22:34:15 -04:00
2014-10-24 15:51:42 -04:00
2015-03-02 13:06:31 -05:00
2015-04-24 11:11:57 +02:00
2015-05-09 15:51:00 -04:00
2015-05-05 19:40:36 -04:00
2015-04-27 23:12:34 -04:00
2015-03-31 13:58:35 -04:00
2015-05-03 23:27:02 -04:00
2015-03-02 16:43:41 -05:00
2015-04-13 16:35:16 -04:00
2015-04-15 09:00:47 -07:00
2015-03-23 22:01:28 -04:00
2015-03-02 13:06:31 -05:00
2015-05-09 16:03:28 -04:00
2015-02-04 14:57:45 -08:00
2015-03-02 16:43:41 -05:00
2015-04-11 15:53:35 -04:00
2015-05-09 16:14:04 -04:00
2015-03-25 11:40:16 -04:00
2015-04-26 17:33:59 -07:00
2015-03-23 16:44:56 -04:00
2015-04-29 15:08:59 -04:00
2015-04-27 14:05:19 -07:00
2015-03-02 13:06:31 -05:00
2014-10-07 20:28:44 -04:00
2015-04-08 09:19:29 +02:00
2015-03-02 13:06:31 -05:00
2015-04-14 15:44:14 -04:00
2015-04-09 00:02:26 -04:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-04-15 15:06:56 -04:00