commit | a7343211f007fdd9e4ebeb80b40d5054798eb890 | [log] [tgz] |
---|---|---|
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | Wed Dec 20 10:21:47 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 20 13:51:46 2017 -0500 |
tree | 65cdec8254ba7a3e87728aeb1b06e88a9c2f17d1 | |
parent | dd8d5b8c5b22e31079b259b8bfb686f1fac1080a [diff] |
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>