]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/core/dev.c
[BRIDGE]: features change notification
[net-next-2.6.git] / net / core / dev.c
index d4d9e2680adbbc6c52c2b8486857a7573b96cec3..f15a3ffff635d9c6ef5edf65c8dbeff02509793b 100644 (file)
@@ -760,6 +760,18 @@ int dev_change_name(struct net_device *dev, char *newname)
        return err;
 }
 
+/**
+ *     netdev_features_change - device changes fatures
+ *     @dev: device to cause notification
+ *
+ *     Called to indicate a device has changed features.
+ */
+void netdev_features_change(struct net_device *dev)
+{
+       notifier_call_chain(&netdev_chain, NETDEV_FEAT_CHANGE, dev);
+}
+EXPORT_SYMBOL(netdev_features_change);
+
 /**
  *     netdev_state_change - device changes state
  *     @dev: device to cause notification