[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150509.161429.1861093639473391686.davem@davemloft.net>
Date: Sat, 09 May 2015 16:14:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com
Subject: Re: [Patch net] net_sched: fix a use-after-free in tc_ctl_tfilter()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Tue, 5 May 2015 15:22:02 -0700
> 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@...atatu.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists