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 01:14:51 +0000 (17:14 -0800)
commit35bd902c33417cdedf72997e77635178e7239c4e
tree027124d7f62c85b2205f1cec9708c4294ada7828
parent761bc602429b4fc505914bec7ed180a1545f8b37
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