Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink
From: David Miller <davem@davemloft.net>
Date: 2017-02-01 16:53:52
From: David Miller <davem@davemloft.net>
Date: 2017-02-01 16:53:52
From: Theuns Verwoerd <redacted> Date: Tue, 31 Jan 2017 12:23:46 +1300
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 <redacted>
Applied to net-next, thanks.