Message ID | 1494958882-26312-1-git-send-email-zhouhan@gmail.com |
---|---|
State | Accepted |
Headers | show |
On Tue, May 16, 2017 at 11:21:22AM -0700, Han Zhou wrote: > Flows are sent to switch by ofctrl_put() instead of ofctrl_run(), so > fix the comment which was misleading. > > Signed-off-by: Han Zhou <zhouhan@gmail.com> Thanks! I applied this to master.
diff --git a/ovn/controller/ofctrl.c b/ovn/controller/ofctrl.c index 417fdc9..5762678 100644 --- a/ovn/controller/ofctrl.c +++ b/ovn/controller/ofctrl.c @@ -604,7 +604,7 @@ ofctrl_recv(const struct ofp_header *oh, enum ofptype type) * OpenFlow 'cookie'. The caller retains ownership of 'match' and 'actions'. * * This just assembles the desired flow table in memory. Nothing is actually - * sent to the switch until a later call to ofctrl_run(). + * sent to the switch until a later call to ofctrl_put(). * * The caller should initialize its own hmap to hold the flows. */ void
Flows are sent to switch by ofctrl_put() instead of ofctrl_run(), so fix the comment which was misleading. Signed-off-by: Han Zhou <zhouhan@gmail.com> --- ovn/controller/ofctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)