[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <542D93C2.1010407@gmail.com>
Date: Thu, 02 Oct 2014 11:04:50 -0700
From: John Fastabend <john.fastabend@...il.com>
To: David Miller <davem@...emloft.net>
CC: xiyou.wangcong@...il.com, netdev@...r.kernel.org,
john.r.fastabend@...el.com
Subject: Re: [Patch net-next] net_sched: avoid calling tcf_unbind_filter()
in call_rcu callback
On 10/01/2014 07:01 PM, David Miller wrote:
> From: Cong Wang <xiyou.wangcong@...il.com>
> Date: Tue, 30 Sep 2014 16:07:24 -0700
>
>> This fixes the following crash:
> ...
>> tp could be freed in call_rcu callback too, the order is not guaranteed.
>>
>> Cc: John Fastabend <john.r.fastabend@...el.com>
>> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
>
> Applied, and I added John's description of why this is legal to the
> commit message.
> --
Thanks, I'll have another series shortly to fix the
other classifiers with the same issue and pull 'tp'
out of the ematch stuff.
Passing around free'd pointers that never get used
through the ematch code wont cause a crash but there is
no reason to propagate it like this.
.John
--
John Fastabend Intel Corporation
--
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