diff options
author | Ben Pfaff <blp@nicira.com> | 2009-08-19 16:08:18 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-08-19 16:08:18 -0700 |
commit | 1d87357a1322c2faa290452c08c7f794c0be848b (patch) | |
tree | 6f23fc2348b7c35f6a95157b0322b95d4ec07568 /datapath/dp_sysfs_dp.c | |
parent | 8fef8c7121222233075a03d57db7e0b48d5f6be5 (diff) | |
parent | 641a0a4ed0a79d53a52d4e78ce1d90140a768798 (diff) |
Merge citrix into master.
Diffstat (limited to 'datapath/dp_sysfs_dp.c')
-rw-r--r-- | datapath/dp_sysfs_dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/datapath/dp_sysfs_dp.c b/datapath/dp_sysfs_dp.c index fafd9a9c..3cd6d1af 100644 --- a/datapath/dp_sysfs_dp.c +++ b/datapath/dp_sysfs_dp.c @@ -448,7 +448,7 @@ static struct attribute *bridge_attrs[] = { }; static struct attribute_group bridge_group = { - .name = SYSFS_BRIDGE_ATTR, + .name = SYSFS_BRIDGE_ATTR, /* "bridge" */ .attrs = bridge_attrs, }; @@ -467,6 +467,7 @@ int dp_sysfs_add_dp(struct datapath *dp) struct kobject *kobj = &dp->ports[ODPP_LOCAL]->dev->NETDEV_DEV_MEMBER.kobj; int err; + /* Create /sys/class/net/<devname>/bridge directory. */ err = sysfs_create_group(kobj, &bridge_group); if (err) { pr_info("%s: can't create group %s/%s\n", |