On Mon, Dec 07, 2015 at 01:02:41PM +0300, Ilya Maximets wrote: > Fixes hang of 'ovs-appctl ofproto/tnl-push-pop' when an invalid > argument passed. > > Signed-off-by: Ilya Maximets <[email protected]> > --- > ofproto/ofproto-dpif.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c > index d920ed0..6561c65 100644 > --- a/ofproto/ofproto-dpif.c > +++ b/ofproto/ofproto-dpif.c > @@ -5328,6 +5328,8 @@ disable_tnl_push_pop(struct unixctl_conn *conn > OVS_UNUSED, int argc OVS_UNUSED, > ofproto_use_tnl_push_pop = true; > unixctl_command_reply(conn, "Tunnel push-pop on"); > ofproto_revalidate_all_backers(); > + } else { > + unixctl_command_reply_error(conn, "Invalid argument"); > } > } > > -- > 2.1.4 > > _______________________________________________ > dev mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/dev
Acked-by: Thadeu Lima de Souza Cascardo <[email protected]> _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
