Re: [PATCH] [NETFILTER] bridge: rcu_deref outside read-lock section

From: Denis
Date: Tue Aug 14 2012 - 03:32:56 EST


On 14.08.2012 3:36, Stephen Hemminger wrote:
Why not just move the rcu_read_lock() in br_dev_xmit earlier?

I don't know the semantics of this code, so it's difficult for me to
choose the appropriate place. I thought that the callers
of br_nf_pre_routing_finish_bridge_slow function are limited to
br_dev_xmit and we can modify header without problems.
Anyway, I will send another version of the patch.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/