[PATCH nf 0/2] netfilter: nf_tables: fix register ordering

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

 



There is an hard-to-trigger race condition when nf_tables module
is repeatedly removed while concurrent processes create net namespaces
that use nf_tables (and then exit immediately).

I made a prevous attempt to fix this, but its incorrect.
So first patch fixes actual problem: the nfnetlink interface
can be exposed before all net->nft state is initialized, which
did cause notifier to trip over uninited net->nft on net namespace
exit.

Second patch reverts part of a previous/incorrect attempt to fix this.

--
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