From d403771c5dd6715880016b212d5e4c73e121e198 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 3 Jun 2002 13:01:04 -0700 Subject: net/core/dev.c: Make handle_diverter return 0 --- net/core/dev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index aa60a342c5fc..d8ff6f51f68f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1411,11 +1411,12 @@ static __inline__ int handle_bridge(struct sk_buff *skb, #ifdef CONFIG_NET_DIVERT -static inline void handle_diverter(struct sk_buff *skb) +static inline int handle_diverter(struct sk_buff *skb) { /* if diversion is supported on device, then divert */ if (skb->dev->divert && skb->dev->divert->divert) divert_frame(skb); + return 0; } #endif /* CONFIG_NET_DIVERT */ -- cgit v1.2.3