Subject: Re: [PATCH net-next v3] ipv6: Kill ipv6 dependency of icmpv6_send().

From: Cong Wang <[email-masked]>
Date: Mon, 29 Apr 2013 01:46:06 +0000 (UTC)

On Thu, 25 Apr 2013 at 21:08 GMT, Pravin B Shelar <[email-masked]> wrote:
> diff --git a/net/ipv6/ip6_icmp.c b/net/ipv6/ip6_icmp.c
> new file mode 100644
> index 0000000..4578e23
> --- /dev/null
> +++ b/net/ipv6/ip6_icmp.c
> @@ -0,0 +1,47 @@
> +#include <linux/export.h>
> +#include <linux/icmpv6.h>
> +#include <linux/mutex.h>
> +#include <linux/netdevice.h>
> +#include <linux/spinlock.h>
> +
> +#include <net/ipv6.h>
> +
> +#if IS_ENABLED(CONFIG_IPV6)
> +

I don't think we need #if IS_ENABLED(CONFIG_IPV6) inside
net/ipv6/ip6_icmp.c.