rconn: Simplify rconn_send() semantics.
authorEthan Jackson <ethan@nicira.com>
Thu, 26 Apr 2012 04:12:18 +0000 (21:12 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 26 Apr 2012 07:44:07 +0000 (00:44 -0700)
commitacb9da402293ba689b1a80dcc7fdabf30751ccd5
tree8ef435f598d1813755d3811918fe20ecc99b3de5
parent47284b1fc6fe84a9b5b43b49bef868e4eb230cd1
rconn: Simplify rconn_send() semantics.

Before this patch, rconn_send() would delete 'b' on success, and
not on error.  This is confusing and error-prone.  This patch
causes rconn_send() to always delete 'b'.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/learning-switch.c
lib/rconn.c
ofproto/connmgr.c