ofproto-dpif: Ignore subfacet install errors.
authorEthan Jackson <ethan@nicira.com>
Wed, 27 Feb 2013 23:44:06 +0000 (15:44 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 28 Feb 2013 00:48:57 +0000 (16:48 -0800)
commitc84451a66e5e1c03c2c057874f089047ab502735
tree6b9b3cfd97a4d638f23d2e1415bcbedf0fb5205e
parent9566abf914f3f7f1ef15898049d818b63d60af68
ofproto-dpif: Ignore subfacet install errors.

When we fail to install a subfacet, there's not much we can do
other than note that it happened.  However, doing this requires us
to maintain a pointer to a subfacet which theoretically could be
destroyed by facet_revalidate() later.  This patch solves the
problem by simply assuming dpif_flow_put() always succeeds.  This
should have no effect on behavior.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c