Skip to content
Commit d41bb33b authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path



Now when updating mtu in tx path, it doesn't consider ARPHRD_ETHER tunnel
device, like ip6gre_tap tunnel, for which it should also subtract ether
header to get the correct mtu.

Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2d40557c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment