On Wed, Jun 4, 2014 at 5:07 PM, Ben Pfaff <b...@nicira.com> wrote:
> Otherwise the indeterminate 'wevent' could frustrate poll_fd_wait_at()'s
> attempt to merge "poll_node"s for the same fd.
>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
> lib/stream-ssl.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/stream-ssl.c b/lib/stream-ssl.c
> index a130aec..4a63d19 100644
> --- a/lib/stream-ssl.c
> +++ b/lib/stream-ssl.c
> @@ -293,6 +293,8 @@ new_ssl_stream(const char *name, int fd, enum
> session_type type,
> sslv->fd = fd;
> #ifdef _WIN32
> sslv->wevent = CreateEvent(NULL, FALSE, FALSE, NULL);
> +#else
> + sslv->wevent = 0;
There is one more place in pssl_open() where you may want to do it.
Acked-by: Gurucharan Shetty <gshe...@nicira.com>
> #endif
> sslv->ssl = ssl;
> sslv->txbuf = NULL;
> --
> 1.7.10.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev