ofproto: Disable timeouts for flows added by ofproto_add_flow().
authorBen Pfaff <blp@nicira.com>
Fri, 29 Oct 2010 18:38:39 +0000 (11:38 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 11 Nov 2010 19:04:12 +0000 (11:04 -0800)
commitfa8b054f50e6f669a1cc4c41ada0f1fdad03e9dd
tree5e8566990d132d2ed86668ba59b2bc3854e7deda
parent0c43ad9a7501774ba33e55e8b5367e611ff0057f
ofproto: Disable timeouts for flows added by ofproto_add_flow().

None of the existing callers of ofproto_add_flow() want an idle timeout,
but ofproto_add_flow() was giving them a 5-second timeout anyway.  I don't
know how this worked properly--in-band will patiently add the flow back
every few seconds anyway, but the bridge doesn't do that.

Also add an explanatory comment to ofproto_add_flow().
ofproto/fail-open.c
ofproto/in-band.c
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c