The commit that this fixes is from 2009.

Reported-by: Kai-Wei Fan <f...@vmware.com>
Fixes: 9467fe624698 ("Add SSL support to "stream" library and OVSDB.")
Signed-off-by: Ben Pfaff <b...@ovn.org>
---
 lib/stream-ssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stream-ssl.c b/lib/stream-ssl.c
index a5c32a1..dcafc2d 100644
--- a/lib/stream-ssl.c
+++ b/lib/stream-ssl.c
@@ -670,7 +670,7 @@ ssl_send(struct stream *stream, const void *buffer, size_t 
n)
         case EAGAIN:
             return n;
         default:
-            sslv->txbuf = NULL;
+            ssl_clear_txbuf(sslv);
             return -error;
         }
     }
-- 
2.1.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to