projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Querying port stats for individual ports (OpenFlow 1.0)
[openvswitch]
/
datapath
/
dp_notify.c
diff --git
a/datapath/dp_notify.c
b/datapath/dp_notify.c
index d5a274981f9ea077ab91b570e3fe35b838bc4c5e..0278988d69a08bbc4e753e28d0ad26c05880ce92 100644
(file)
--- a/
datapath/dp_notify.c
+++ b/
datapath/dp_notify.c
@@
-45,6
+45,14
@@
static int dp_device_event(struct notifier_block *unused, unsigned long event,
mutex_unlock(&dp->mutex);
}
break;
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;
}
}
return NOTIFY_DONE;
}