git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
net
/
bridge
/
br_notify.c
diff --git
a/net/bridge/br_notify.c
b/net/bridge/br_notify.c
index
f8fb49e
..
917311c
100644
(file)
--- a/
net/bridge/br_notify.c
+++ b/
net/bridge/br_notify.c
@@
-65,6
+65,15
@@
static int br_device_event(struct notifier_block *unused, unsigned long event, v
}
break;
}
break;
+ case NETDEV_FEAT_CHANGE:
+ if (br->dev->flags & IFF_UP)
+ br_features_recompute(br);
+
+ /* could do recursive feature change notification
+ * but who would care??
+ */
+ break;
+
case NETDEV_DOWN:
if (br->dev->flags & IFF_UP)
br_stp_disable_port(p);
case NETDEV_DOWN:
if (br->dev->flags & IFF_UP)
br_stp_disable_port(p);