]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Nov 2017 10:06:31 +0000 (11:06 +0100)
commiteb36c7de3dc1b232094e0a9d2c30caa30c99bb9d
treeb762db7a11684dc0d7f9255e087a1a4983be4f8c
parent53380d17dfa8a31c015c5b1b7d45fb5ad0bb06a8
ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err

[ Upstream commit f8d20b46ce55cf40afb30dcef6d9288f7ef46d9b ]

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: c12b395a4664 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_gre.c