diff options
author | Chen Haiquan <oc@yunify.com> | 2016-05-27 02:49:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-31 18:46:00 (GMT) |
commit | ce577668a426c6a9e2470a09dcd07fbd6e45272a (patch) | |
tree | 2d101630f20f730773a3dd3b9df70e721328030b /block/genhd.c | |
parent | bcf91bdb44d2e6d84ffc5b7ab0400d5ff1c27645 (diff) | |
download | linux-ce577668a426c6a9e2470a09dcd07fbd6e45272a.tar.xz |
vxlan: Accept user specified MTU value when create new vxlan link
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>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions