diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-24 13:41:45 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-24 13:41:45 +0000 |
commit | 2717b28a97353742f11784c59dd5076639ec83f1 (patch) | |
tree | ab6ae5629d32409b0ffbd44b6d7431fec049fdb5 /br-nf-bds/linux2.5/net/core/netfilter.c | |
parent | 9f27ecfab2381936107268bcd2b7d8cfdd557305 (diff) |
*** empty log message ***
Diffstat (limited to 'br-nf-bds/linux2.5/net/core/netfilter.c')
-rw-r--r-- | br-nf-bds/linux2.5/net/core/netfilter.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/br-nf-bds/linux2.5/net/core/netfilter.c b/br-nf-bds/linux2.5/net/core/netfilter.c index 198dad6..1a1cb88 100644 --- a/br-nf-bds/linux2.5/net/core/netfilter.c +++ b/br-nf-bds/linux2.5/net/core/netfilter.c @@ -418,8 +418,10 @@ static void nf_queue(struct sk_buff *skb, { int status; struct nf_info *info; +#ifdef CONFIG_BRIDGE_NF struct net_device *physindev; struct net_device *physoutdev; +#endif if (!queue_handler[pf].outfn) { kfree_skb(skb); @@ -442,16 +444,20 @@ static void nf_queue(struct sk_buff *skb, if (indev) dev_hold(indev); if (outdev) dev_hold(outdev); +#ifdef CONFIG_BRIDGE_NF if ((physindev = skb->physindev)) dev_hold(physindev); if ((physoutdev = skb->physoutdev)) dev_hold(physoutdev); +#endif status = queue_handler[pf].outfn(skb, info, queue_handler[pf].data); if (status < 0) { /* James M doesn't say fuck enough. */ if (indev) dev_put(indev); if (outdev) dev_put(outdev); +#ifdef CONFIG_BRIDGE_NF if (physindev) dev_put(physindev); if (physoutdev) dev_put(physoutdev); +#endif kfree(info); kfree_skb(skb); return; |