Re: [PATCH v2 3/4] xen: Ignore return status for TCP_NODELAY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/15/2013 07:12 PM, John Ferlan wrote:
> ---
>  src/xen/xend_internal.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c
> index 959225c..038dd1e 100644
> --- a/src/xen/xend_internal.c
> +++ b/src/xen/xend_internal.c
> @@ -89,11 +89,10 @@ do_connect(virConnectPtr xend)
>      }
>  
>      /*
> -     * try to desactivate slow-start
> +     * try to deactivate slow-start
>       */
> -    setsockopt(s, IPPROTO_TCP, TCP_NODELAY, (void *)&no_slow_start,
> -               sizeof(no_slow_start));
> -
> +    ignore_value(setsockopt(s, IPPROTO_TCP, TCP_NODELAY, (void *)&no_slow_start,
> +                            sizeof(no_slow_start)));
>  
>      if (connect(s, (struct sockaddr *)&priv->addr, priv->addrlen) == -1) {
>          VIR_FORCE_CLOSE(s); /* preserves errno */
> 

This one was already pushed by Eric in previous series, so I'm leaving
it out.

Martin

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]