Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316
b: refs/heads/master
c: f0e035f
h: refs/heads/master
v: v3
  • Loading branch information
kay.sievers@vrfy.org authored and Greg KH committed Apr 19, 2005
1 parent 33d7eae commit 3a424fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 089d42b013675b028a499c61bac59954067dc668
refs/heads/master: f0e035f4b6940aae6836500b642029c289ed4535
2 changes: 2 additions & 0 deletions trunk/net/bridge/br_sysfs_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ int br_sysfs_addif(struct net_bridge_port *p)
if (err)
goto out2;

kobject_hotplug(&p->kobj, KOBJ_ADD);
return 0;
out2:
kobject_del(&p->kobj);
Expand All @@ -259,6 +260,7 @@ void br_sysfs_removeif(struct net_bridge_port *p)
{
pr_debug("br_sysfs_removeif\n");
sysfs_remove_link(&p->br->ifobj, p->dev->name);
kobject_hotplug(&p->kobj, KOBJ_REMOVE);
kobject_del(&p->kobj);
}

Expand Down

0 comments on commit 3a424fb

Please sign in to comment.