kbuild test robot <l...@intel.com> wrote:
> >> include/linux/rcupdate.h:686:9: sparse: context imbalance in 
> >> 'nft_netlink_dump_start_rcu' - unexpected unlock

Yep, i forgot to mention this in change log.

I don't know how to fix this.
nft_netlink_dump_start_rcu() is called with rcu read lock held.

But we call netlink_dump_start and that might sleep.

So I'm grabbing the module ref, release rcu read lock and re-acquire
it on return.

I didn't find out how to annotate this.

Given large number of similar warnings in alike-patterned code
I guess there isn't a way to do this.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to