From: santosh shilimkar <santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: David Dai
<zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: clsoto-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org
Subject: Re: [PATCH 1/2] rds-tools user space part of change for rds-stress -D option failure
Date: Tue, 1 Mar 2016 11:03:00 -0800 [thread overview]
Message-ID: <56D5E764.3050006@oracle.com> (raw)
In-Reply-To: <1456796846-8596-2-git-send-email-zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
On 2/29/2016 5:47 PM, David Dai wrote:
> ---
> rds-stress.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/rds-stress.c b/rds-stress.c
> index 9f0623c..6632d58 100755
> --- a/rds-stress.c
> +++ b/rds-stress.c
> @@ -1400,7 +1400,7 @@ static int recv_message(int fd,
> return ret;
> if (ret && ret < sizeof(struct header))
> die("recvmsg() returned short data: %zd", ret);
> - if (msg.msg_namelen < sizeof(struct sockaddr_in))
> + if (ret && msg.msg_namelen < sizeof(struct sockaddr_in))
> die("socklen = %d < sizeof(sin) (%zu)\n",
> msg.msg_namelen, sizeof(struct sockaddr_in));
>
External rds-tools repo's are really stale. Which sources you
used to create this patch against ?
Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-03-01 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 1:47 rds-stress command with "-D" option failure David Dai
[not found] ` <1456796846-8596-1-git-send-email-zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-03-01 1:47 ` [PATCH 1/2] rds-tools user space part of change for rds-stress -D " David Dai
[not found] ` <1456796846-8596-2-git-send-email-zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-03-01 19:03 ` santosh shilimkar [this message]
[not found] ` <56D5E764.3050006-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2016-03-03 0:04 ` David Dai
[not found] ` <1456963464.4878.6.camel-zveeff//G6j74LnEdpXOr9eZKA5ZF4aE9RDcMeEix6s@public.gmane.org>
2016-03-03 0:15 ` santosh shilimkar
2016-03-01 1:47 ` [PATCH 2/2] rds kernel " David Dai
[not found] ` <1456796846-8596-3-git-send-email-zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-03-01 18:55 ` Yuval Shaia
[not found] ` <20160301185530.GA5975-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-03-03 0:16 ` David Dai
2016-03-01 19:00 ` santosh shilimkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D5E764.3050006@oracle.com \
--to=santosh.shilimkar-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=clsoto-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zdai-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.