]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
authorXin Long <lucien.xin@gmail.com>
Thu, 26 Oct 2017 11:23:27 +0000 (19:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 14:45:12 +0000 (23:45 +0900)
commitfd341768b34163474f3ce7a9431965d7874d876d
tree3386f19b48b6ce2594f2877fdb9419d15b96c016
parent351e57f107e2711319d0f5904b5c8466f8cde40c
ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err

The similar fix in patch 'ipip: only increase err_count for some
certain type icmp in ipip_err' is needed for ip6gre_err.

In Jianlin's case, udp netperf broke even when receiving a TooBig
icmpv6 packet.

Fixes: 3d8fd70921d8 ("gre: Support GRE over IPv6")
Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c