ovs-controller: Document how to use with management protocol.
[openvswitch] / datapath / dp_notify.c
index d5a274981f9ea077ab91b570e3fe35b838bc4c5e..0278988d69a08bbc4e753e28d0ad26c05880ce92 100644 (file)
@@ -45,6 +45,14 @@ static int dp_device_event(struct notifier_block *unused, unsigned long event,
                        mutex_unlock(&dp->mutex);
                }
                break;
+
+       case NETDEV_CHANGEMTU:
+               if (!is_dp_dev(dev)) {
+                       mutex_lock(&dp->mutex);
+                       set_dp_devs_mtu(dp, dev);
+                       mutex_unlock(&dp->mutex);
+               }
+               break;
        }
        return NOTIFY_DONE;
 }