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)
commitc84bed440e4e11a973e8c0254d0dfaccfca41fb0
tree037f60ca472cd85fa942b6e5da0c8e4eb405220b
parentc122fda271717f4fc618e0a31e833941fd5f1efd
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: 84e54fe0a5ea ("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