]> git.baikalelectronics.ru Git - kernel.git/commit
ip6: move ipip6_err_gen_icmpv6_unreach()
authorEric Dumazet <edumazet@google.com>
Sun, 19 Jun 2016 04:52:03 +0000 (21:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 05:11:39 +0000 (22:11 -0700)
commita4eda8d1f2c80728fe4fa83a425a7b8082798021
tree2b96725dff29857dad4a6aca7a94d06322339ac5
parent13a4db90e48d056d3300ffffd9f6a05f90c0896f
ip6: move ipip6_err_gen_icmpv6_unreach()

We want to use this helper from GRE as well, so this is
the time to move it in net/ipv6/icmp.c

Also add a @nhs parameter, since SIT and GRE have different
values for the header(s) to skip.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/icmpv6.h
net/ipv6/icmp.c
net/ipv6/sit.c