]> 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)
commit1f56577b002ed00ce5c5df2bd9bca3f73522bb29
tree037f60ca472cd85fa942b6e5da0c8e4eb405220b
parente5f565dcaa15e2ae75b77158412e15a4ae3807c7
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: 47b2af5234e3 ("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