Stephen Hemminger wrote:
On Wed, 06 Jun 2007 01:17:11 +0200
Patrick McHardy [EMAIL PROTECTED] wrote:
If you want I'll extend existing bridge netlink to use these.
Are you talking about brige-port information or bridge device
configuration? So far the API is not suitable for anything that
+static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg)
+{
+ struct rtnl_link_ops *ops;
+ struct net_device *dev;
+ struct ifinfomsg *ifm;
+ char name[MODULE_NAME_LEN];
+ char ifname[IFNAMSIZ];
+ struct nlattr *tb[IFLA_MAX+1];
+ struct
Eric W. Biederman wrote:
+ if (linkinfo[IFLA_INFO_NAME]) {
+ nla_strlcpy(name, linkinfo[IFLA_INFO_NAME], sizeof(name));
+ ops = rtnl_link_ops_get(name);
Ugh. Shouldn't we have the request_module logic here?
Otherwise it looks like we can skip the validate method
Patrick McHardy [EMAIL PROTECTED] writes:
Eric W. Biederman wrote:
+if (linkinfo[IFLA_INFO_NAME]) {
+nla_strlcpy(name, linkinfo[IFLA_INFO_NAME], sizeof(name));
+ops = rtnl_link_ops_get(name);
Ugh. Shouldn't we have the request_module logic here?
Otherwise it
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices.
Signed-off-by: Patrick McHardy [EMAIL PROTECTED]
---
commit 0323e7d1e7d5042492684264cfcba6d7ff55c473
tree 161530836d43b39ddef42a2c2b48b82187580e3c
parent
From: Patrick McHardy [EMAIL PROTECTED]
Date: Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices.
Signed-off-by: Patrick McHardy [EMAIL PROTECTED]
Looks mostly fine, perhaps you can make even more
David Miller wrote:
From: Patrick McHardy [EMAIL PROTECTED]
Date: Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices.
Signed-off-by: Patrick McHardy [EMAIL PROTECTED]
Looks mostly fine, perhaps you
On Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
Patrick McHardy [EMAIL PROTECTED] wrote:
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices.
Signed-off-by: Patrick McHardy [EMAIL PROTECTED]
If you want I'll extend existing bridge netlink to
Stephen Hemminger wrote:
On Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
Patrick McHardy [EMAIL PROTECTED] wrote:
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices.
Signed-off-by: Patrick McHardy [EMAIL PROTECTED]
If you want I'll extend
On Wed, 06 Jun 2007 01:17:11 +0200
Patrick McHardy [EMAIL PROTECTED] wrote:
Stephen Hemminger wrote:
On Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
Patrick McHardy [EMAIL PROTECTED] wrote:
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software
10 matches
Mail list logo