Jan Engelhardt wrote: > the next patch group following the previous cleanups is this one. > > The macros were really ugly (you could not easily tell where the > argument list that was passed to the real function started), so > I took the freedom to remodel these based upon the excellent ideas > from linux/list.h. It seems to have turned out well, there is much > less argument passing. > > The reentrancy patch title should speak for itself. > > > The following changes since commit 05c7a108fdbd2ebbc357a78597646c111f8ebc62: > Jan Engelhardt (1): > netfilter: xtables: add const qualifiers > > are available in the git repository at: > > git://dev.medozas.de/linux master-d30b8f5 > > Jan Engelhardt (6): > netfilter: xtables: replace XT_ENTRY_ITERATE macro > netfilter: xtables: optimize call flow around xt_entry_foreach > netfilter: xtables: replace XT_MATCH_ITERATE macro > netfilter: xtables: optimize call flow around xt_ematch_foreach > netfilter: xtables: reduce arguments to translate_table > netfilter: xtables2: make ip_tables reentrant I've applied patch 1-5 for now. Patch 6 doesn't add any value so far, so it should go in a series that actually makes use of this (please note: I don't want any larger changes anymore in this release however). BTW, I noticed some minor cosmetic problems that I didn't fix up to avoid clashes, please send me a patch on top to fix up indentation in spots like this: /* Walk through entries, checking offsets. */ xt_entry_foreach(iter, entry0, newinfo->size) { ret = check_entry_size_and_hooks(iter, newinfo, entry0, entry0 + repl->size, repl->hook_entry, repl->underflow, repl->valid_hooks); Thanks! -- 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