summaryrefslogtreecommitdiffstats
path: root/br-nf-bds/linux2.5/net/core/netfilter.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-09-18 18:18:25 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-09-18 18:18:25 +0000
commit41426497d4a7630cf6044d5e90174b7243bd8215 (patch)
treec84df14ebb69a357b7e6968586014949715c4238 /br-nf-bds/linux2.5/net/core/netfilter.c
parentada6f3f546bcb93735002a5fdd234b146dab3e50 (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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/br-nf-bds/linux2.5/net/core/netfilter.c b/br-nf-bds/linux2.5/net/core/netfilter.c
index 1a1cb88..198dad6 100644
--- a/br-nf-bds/linux2.5/net/core/netfilter.c
+++ b/br-nf-bds/linux2.5/net/core/netfilter.c
@@ -418,10 +418,8 @@ 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);
@@ -444,20 +442,16 @@ 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;