]> git.baikalelectronics.ru Git - kernel.git/commit
ip_gre: erspan device should keep dst
authorXin Long <lucien.xin@gmail.com>
Sun, 1 Oct 2017 14:00:56 +0000 (22:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 05:30:32 +0000 (22:30 -0700)
commitb125460767f9c7333588db313cd27aabff244bd2
tree037f60ca472cd85fa942b6e5da0c8e4eb405220b
parentaf39023a333413805864a9f0e560d89429442ec1
ip_gre: erspan device should keep dst

The patch 'ip_gre: ipgre_tap device should keep dst' fixed
the issue ipgre_tap dev mtu couldn't be updated in tx path.

The same fix is needed for erspan as well.

Fixes: 468dae257e70 ("gre: introduce native tunnel support for ERSPAN")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c