diff options
Diffstat (limited to 'include/linux/mroute6.h')
-rw-r--r-- | include/linux/mroute6.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h index 94a0cb521ca9..0370dd4f2389 100644 --- a/include/linux/mroute6.h +++ b/include/linux/mroute6.h | |||
@@ -229,10 +229,7 @@ extern int ip6mr_get_route(struct net *net, struct sk_buff *skb, | |||
229 | struct rtmsg *rtm, int nowait); | 229 | struct rtmsg *rtm, int nowait); |
230 | 230 | ||
231 | #ifdef CONFIG_IPV6_MROUTE | 231 | #ifdef CONFIG_IPV6_MROUTE |
232 | static inline struct sock *mroute6_socket(struct net *net) | 232 | extern struct sock *mroute6_socket(struct net *net); |
233 | { | ||
234 | return net->ipv6.mroute6_sk; | ||
235 | } | ||
236 | extern int ip6mr_sk_done(struct sock *sk); | 233 | extern int ip6mr_sk_done(struct sock *sk); |
237 | #else | 234 | #else |
238 | static inline struct sock *mroute6_socket(struct net *net) { return NULL; } | 235 | static inline struct sock *mroute6_socket(struct net *net) { return NULL; } |