aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-01-16 22:09:49 +0000
committerZiyan <jaraidaniel@gmail.com>2016-03-11 15:56:58 +0100
commit0d6557209ad0592238995797b1a20b96428988f4 (patch)
treefdfceddcb9b219e5368c55b4d9ee6524c9cde70e /sound/soc
parent224487a0f4b3c5f428a8c8fef21759f32c7918a5 (diff)
downloadkernel_samsung_espresso10-0d6557209ad0592238995797b1a20b96428988f4.zip
kernel_samsung_espresso10-0d6557209ad0592238995797b1a20b96428988f4.tar.gz
kernel_samsung_espresso10-0d6557209ad0592238995797b1a20b96428988f4.tar.bz2
net: ipv6: Add IPv6 support to the ping socket.
[backport of net-next 6d0bfe22611602f36617bc7aa2ffa1bbb2f54c67] 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. Caveats: - Setting options via ancillary data (e.g., using IPV6_PKTINFO to specify the outgoing interface) is not yet supported. - There are no separate security settings for IPv4 and IPv6; everything is controlled by /proc/net/ipv4/ping_group_range. - The proc interface does not yet display IPv6 ping sockets properly. Tested with a patched copy of ping6 and using raw socket calls. Compiles and works with all of CONFIG_IPV6={n,m,y}. Change-Id: Ia359af556021344fc7f890c21383aadf950b6498 Signed-off-by: Lorenzo Colitti <lorenzo@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> [lorenzo@google.com: backported to 3.0] Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions