diff options
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | 2017-12-20 05:21:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 21:51:46 +0300 |
commit | a7343211f007fdd9e4ebeb80b40d5054798eb890 (patch) | |
tree | 65cdec8254ba7a3e87728aeb1b06e88a9c2f17d1 /net/ipv4/ip_gre.c | |
parent | dd8d5b8c5b22e31079b259b8bfb686f1fac1080a (diff) | |
download | linux-a7343211f007fdd9e4ebeb80b40d5054798eb890.tar.xz |
ip6_gre: fix error path when ip6erspan_rcv failed
Same as ipv4 code, when ip6erspan_rcv call return PACKET_REJECT, we
should call icmpv6_send to send icmp unreachable message in error path.
Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
Acked-by: William Tu <u9012063@gmail.com>
Cc: William Tu <u9012063@gmail.com>
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions