diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2002-06-03 13:01:04 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-06-03 13:01:04 -0700 |
| commit | d403771c5dd6715880016b212d5e4c73e121e198 (patch) | |
| tree | 2fa379b82cc77648f1f71d97ea75609ec47d3135 | |
| parent | 454fe23c7cfd3b0f905b5a28f2fc9ff61319f2c1 (diff) | |
net/core/dev.c: Make handle_diverter return 0
| -rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |
