diff options
| author | Theuns Verwoerd <[email protected]> | 2017-01-31 12:23:46 +1300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-01 11:53:23 -0500 |
| commit | 160ca0142431c19386db976302fd4b07c587f651 (patch) | |
| tree | e0969dbd871a4e024c1a7cad5ef09474b1d31ac4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 04cdf13e34e912dcab9a94f391e15b2c26dfd0a2 (diff) | |
rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink
Allow a master interface to be specified as one of the parameters when
creating a new interface via rtnl_newlink. Previously this would
require invoking interface creation, waiting for it to complete, and
then separately binding that new interface to a master.
In particular, this is used when creating a macvlan child interface for
VRRP in a VRF configuration, allowing the interface creator to specify
directly what master interface should be inherited by the child,
without having to deal with asynchronous complications and potential
race conditions.
Signed-off-by: Theuns Verwoerd <[email protected]>
Acked-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions