Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Lorenzo Colitti <lorenzo@google.com>
Cc: netdev@vger.kernel.org, segoon@openwall.com,
	yoshfuji@linux-ipv6.org, edumazet@google.com
Subject: Re: [PATCH] net: ipv6: Add IPv6 support to the ping socket.
Date: Tue, 14 May 2013 08:16:21 -0700	[thread overview]
Message-ID: <1368544581.4519.12.camel@edumazet-glaptop> (raw)
In-Reply-To: <20130514145804.3780F180460@drone2.tok.corp.google.com>

On Tue, 2013-05-14 at 23:58 +0900, Lorenzo Colitti wrote:
> This adds the ability to send ICMPv6 echo requests without a
> raw socket. The equivalent ability for ICMPv4 was added in
> 2011.
> 
> Instead of having separate code paths for IPv4 and IPv6, make
> most of the code in net/ipv4/ping.c dual-stack and only add a
> few IPv6-specific bits (like the protocol definition) to a new
> net/ipv6/ping.c. Hopefully this will reduce divergence and/or
> duplication of bugs in the future.
> 

Interesting, but :

> +#ifdef CONFIG_IPV6
> +#include <linux/in6.h>
> +#include <linux/icmpv6.h>
> +#include <net/addrconf.h>
> +#include <net/ipv6.h>
> +#include <net/transp_v6.h>
> +#endif
>  

This cannot possibly work with
CONFIG_IPV6=m

Please always compile/test your IPv6 patches with following possible
configurations.

1) CONFIG_IPV6=m
2) CONFIG_IPV6=y
3) # CONFIG_IPV6 is not set

Thanks !

  reply	other threads:[~2013-05-14 15:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14 14:58 [PATCH] net: ipv6: Add IPv6 support to the ping socket Lorenzo Colitti
2013-05-14 15:16 ` Eric Dumazet [this message]
     [not found]   ` <CAKD1Yr0s1pD-BwXcanf-zzHxUUtze6X_dKgL+eyLH0HD46zwHg@mail.gmail.com>
2013-05-14 15:30     ` Eric Dumazet
2013-05-15  0:47 ` Cong Wang
  -- strict thread matches above, loose matches on Subject: below --
2013-05-23  6:17 Lorenzo Colitti
2013-05-26  4:11 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368544581.4519.12.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=edumazet@google.com \
    --cc=lorenzo@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=segoon@openwall.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox