diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-10-21 17:34:37 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-10-21 17:34:37 +0000 |
commit | af134e25a002f112d65a115fff5662f957b7bc2c (patch) | |
tree | 2425f9ee494e7cd737a4d1151af1557ab439685a | |
parent | b5267b4a899691152d48daddc890fa56060ab4d1 (diff) |
remove nf_bridge_alloc call
-rw-r--r-- | br-nf-bds/linux2.5/net/bridge/br_input.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/br-nf-bds/linux2.5/net/bridge/br_input.c b/br-nf-bds/linux2.5/net/bridge/br_input.c index 6a83e5e..4eb67b5 100644 --- a/br-nf-bds/linux2.5/net/bridge/br_input.c +++ b/br-nf-bds/linux2.5/net/bridge/br_input.c @@ -5,7 +5,7 @@ * Authors: * Lennert Buytenhek <buytenh@gnu.org> * - * $Id: br_input.c,v 1.5 2002/10/19 14:27:48 bdschuym Exp $ + * $Id: br_input.c,v 1.6 2002/10/21 17:34:37 bdschuym Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -154,14 +154,8 @@ int br_handle_frame(struct sk_buff *skb) return -1; } -#ifdef CONFIG_NETFILTER - /* Used by br_netfilter.c */ - if (nf_bridge_alloc(skb) == NULL) - kfree_skb(skb); - else -#endif - NF_HOOK(PF_BRIDGE, NF_BR_PRE_ROUTING, skb, skb->dev, - NULL, br_handle_frame_finish); + NF_HOOK(PF_BRIDGE, NF_BR_PRE_ROUTING, skb, skb->dev, NULL, + br_handle_frame_finish); read_unlock(&br->lock); return 0; } |