bridge: fix accidental creation of sysfs directory
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 18 Apr 2011 00:52:51 +0000 (17:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:52:51 +0000 (17:52 -0700)
commit28674b97cfb907b0b3de7b7fea89efda1e65f34e
tree8ce41fb220a4ea54fc5d92454c106d186e1c5433
parent2ed28baa7076083b56c1e70ccd927b7870117c59
bridge: fix accidental creation of sysfs directory

Commit bb900b27a2f49b37bc38c08e656ea13048fee13b ("bridge: allow
creating bridge devices with netlink") introduced a bug in net-next
because of a typo in notifier. Every device would have the sysfs
bridge directory (and files).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_notify.c