Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > int br_nf_hook_thresh(unsigned int hook, struct net *net, > struct sock *sk, struct sk_buff *skb, > struct net_device *indev, > struct net_device *outdev, > int (*okfn)(struct net *, struct sock *, > struct sk_buff *)) > { > struct nf_hook_entry *elem; > struct nf_hook_state state; > int ret; > > elem = rcu_dereference(net->nf.hooks[NFPROTO_BRIDGE][hook]); > > while (elem && (elem->ops.priority <= NF_BR_PRI_BRNF)) > elem = rcu_dereference(elem->next); > > ... > > nf_hook_state_init(&state, elem, hook, NFPROTO_BRIDGE, indev, ... > > Hm, but this code (before actually calling nf_hook_slow) is skipping > the hook until we get to NF_BR_PRI_BRNF + 1. > > Then hook state sets hook_entry to elem. > > Am I missing anything? Yes, I'm a moron -- Ignore. I'll turn off the computer now. -- 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