aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Benc <[email protected]>2016-04-28 16:36:30 +0200
committerDavid S. Miller <[email protected]>2016-04-29 15:08:56 -0400
commit65226ef8ea167c773de4c5b31a0fd3cb3a08f5b4 (patch)
tree590a2a972e630de29dc5f7c7a7067e939df8a21b /tools/perf/scripts/python
parent638af1787357f2f8bbb5006d4df0693afd3b805b (diff)
vxlan: fix initialization with custom link parameters
Commit 0c867c9bf84c ("vxlan: move Ethernet initialization to a separate function") changed initialization order and as an unintended result, when the user specifies additional link parameters (such as IFLA_ADDRESS) while creating vxlan interface, those are overwritten by vxlan_ether_setup later. It's necessary to call ether_setup from withing the ->setup callback. That way, the correct parameters are set by rtnl_create_link later. This is done also for VXLAN-GPE, as we don't know the interface type yet at that point, and changed to the correct interface type later. Fixes: 0c867c9bf84c ("vxlan: move Ethernet initialization to a separate function") Reported-by: Nicolas Dichtel <[email protected]> Signed-off-by: Jiri Benc <[email protected]> Tested-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions