Optimize call flow around xt_ematch_foreach