Re: [PATCH] nf_queue: Put devs after calling handler

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

 



Changli Gao wrote:
> Put devs after calling handler.
> 
> If we put the devs before calling handler, the devs may disappear when the handler is running.
> 
> @@ -236,9 +231,6 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict)
>  	const struct nf_afinfo *afinfo;
>  
>  	rcu_read_lock();
> -
> -	nf_queue_entry_release_refs(entry);
> -

The devices won't disappear under rcu_read_lock().
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux