summaryrefslogtreecommitdiffstats
path: root/kernel/linux/net/bridge/netfilter/ebtable_broute.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/linux/net/bridge/netfilter/ebtable_broute.c')
-rw-r--r--kernel/linux/net/bridge/netfilter/ebtable_broute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/linux/net/bridge/netfilter/ebtable_broute.c b/kernel/linux/net/bridge/netfilter/ebtable_broute.c
index 3c0a543..ea443bb 100644
--- a/kernel/linux/net/bridge/netfilter/ebtable_broute.c
+++ b/kernel/linux/net/bridge/netfilter/ebtable_broute.c
@@ -40,7 +40,7 @@ static struct ebt_table broute_table =
RW_LOCK_UNLOCKED, check, NULL
};
-static unsigned int ebt_broute(struct sk_buff **pskb)
+static int ebt_broute(struct sk_buff **pskb)
{
int ret;
@@ -59,7 +59,7 @@ static int __init init(void)
if (ret < 0)
return ret;
br_write_lock_bh(BR_NETPROTO_LOCK);
- // in br_input.c, br_handle_frame() wants to call broute_decision()
+ // see br_input.c
br_should_route_hook = ebt_broute;
br_write_unlock_bh(BR_NETPROTO_LOCK);
return ret;