Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-02-01 Thread David Miller
From: Theuns Verwoerd 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

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-31 Thread David Ahern
On 1/30/17 4:23 PM, Theuns Verwoerd wrote: > 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

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-31 Thread David Miller
From: David Ahern Date: Tue, 31 Jan 2017 13:25:32 -0700 > On 1/30/17 11:49 PM, Cong Wang wrote: >> On Mon, Jan 30, 2017 at 3:23 PM, Theuns Verwoerd >> wrote: >>> @@ -2653,6 +2653,11 @@ static int rtnl_newlink(struct sk_buff *skb, struct >>> nlmsghdr *nlh) >>> if (err < 0

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-31 Thread David Ahern
On 1/30/17 11:49 PM, Cong Wang wrote: > On Mon, Jan 30, 2017 at 3:23 PM, Theuns Verwoerd > wrote: >> @@ -2653,6 +2653,11 @@ static int rtnl_newlink(struct sk_buff *skb, struct >> nlmsghdr *nlh) >> if (err < 0) >> goto out_unregister; >>

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-30 Thread Cong Wang
On Mon, Jan 30, 2017 at 3:23 PM, Theuns Verwoerd wrote: > @@ -2653,6 +2653,11 @@ static int rtnl_newlink(struct sk_buff *skb, struct > nlmsghdr *nlh) > if (err < 0) > goto out_unregister; > } > + if (tb[IFLA_MAS

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-30 Thread Stephen Hemminger
On Tue, 31 Jan 2017 12:23:46 +1300 Theuns Verwoerd wrote: > 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 t

[PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-30 Thread Theuns Verwoerd
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 cre

Re: [PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-30 Thread Stephen Hemminger
On Mon, 30 Jan 2017 22:28:05 + Theuns Verwoerd wrote: > 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 inter

[PATCH] rtnetlink: Handle IFLA_MASTER parameter when processing rtnl_newlink

2017-01-30 Thread Theuns Verwoerd
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