Hi Pablo,
I really think we have to use Patrick's new infrastructure that allows
us to add new expression flavours per family.
I actually used this, look at the end of the patch.
However, since I did not wanted to rewrite a specific
nft_meta_select_ops, I used this trick.
Makes it messy anyway yes, I will change that.
It should just need a
couple of exported symbols in nft_meta.c that you can use from the new
net/bridge/netfilter/nft_meta.c file. We should avoid these ifdef
games.
I agree, looks ugly.
Will prepare a proper patch
Tomasz
--
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