diff options
author | Chen Haiquan <oc@yunify.com> | 2016-05-27 10:49:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-24 10:18:17 -0700 |
commit | 721976e93e5d8963d0c937ee236489968bfcfb81 (patch) | |
tree | 0b2e4cd45a88ae41ee39474b0c33625664cfb6fc /net/ipv6 | |
parent | 13a055d6ca34dcce324ccfab63cc05db726030bc (diff) |
vxlan: Accept user specified MTU value when create new vxlan link
[ Upstream commit ce577668a426c6a9e2470a09dcd07fbd6e45272a ]
When create a new vxlan link, example:
ip link add vtap mtu 1440 type vxlan vni 1 dev eth0
The argument "mtu" has no effect, because it is not set to conf->mtu. The
default value is used in vxlan_dev_configure function.
This problem was introduced by commit 0dfbdf4102b9 (vxlan: Factor out device
configuration).
Fixes: 0dfbdf4102b9 (vxlan: Factor out device configuration)
Signed-off-by: Chen Haiquan <oc@yunify.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions