]> git.baikalelectronics.ru Git - kernel.git/commit
erspan: fix error handling for erspan tunnel
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Mon, 10 Sep 2018 14:19:48 +0000 (22:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:50:54 +0000 (23:50 -0700)
commitf515f531ca4f15ba3cfadf8430ab4f5e8ca62e2f
tree053ec6cc02a89c352924e7145cbe395033355f0f
parent922ce9c5155c602770050fe0be2f2f24390f6f53
erspan: fix error handling for erspan tunnel

When processing icmp unreachable message for erspan tunnel, tunnel id
should be erspan_net_id instead of ipgre_net_id.

Fixes: 47b2af5234e3 ("gre: introduce native tunnel support for ERSPAN")
Cc: William Tu <u9012063@gmail.com>
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c