Re: [nf PATCH] netfilter: nf_tables: nft_flowtable_find_dev() lacks rcu_read_lock()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 19, 2024 at 12:49:22PM +0200, Florian Westphal wrote:
> Phil Sutter <phil@xxxxxx> wrote:
> > Make sure writers won't free the current hook being dereferenced.
> 
> Are you sure?
> AFAICS its only called from eval function/hook plane, those are already
> rcu locked.

Oh, right! I missed the fact that nf_hook() takes care of it already.

So please discard this patch, it's worthless.

Thanks, Phil




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux