Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-28 Thread Michael Christie
On Jun 26, 2013, at 8:55 AM, Jan Vesely jves...@redhat.com wrote: From: Jan Vesely jves...@redhat.com Without this patch connections to iscsiuio fail, and strace prints: connect(8, {sa_family=AF_FILE, path=@ISCSID_UIP_ABSTRACT_NAMESPACE}, 32) = -1 ECONNREFUSED (Connection refused)

[PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-26 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com Without this patch connections to iscsiuio fail, and strace prints: connect(8, {sa_family=AF_FILE, path=@ISCSID_UIP_ABSTRACT_NAMESPACE}, 32) = -1 ECONNREFUSED (Connection refused) Note that updating mgmt_ipc_listen and ipc_connect to use sizeof(addr) instead

Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-26 Thread Mike Christie
Thanks Jan. Works for me. Eddie, please review too, and then I will merge if ok with you too. On 06/26/2013 08:55 AM, Jan Vesely wrote: From: Jan Vesely jves...@redhat.com Without this patch connections to iscsiuio fail, and strace prints: connect(8, {sa_family=AF_FILE,

Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-26 Thread Eddie Wai
Looks aligned now, good catch! Acked-by: Eddie Wai eddie@broadcom.com On Wed, 2013-06-26 at 19:52 -0500, Mike Christie wrote: Thanks Jan. Works for me. Eddie, please review too, and then I will merge if ok with you too. On 06/26/2013 08:55 AM, Jan Vesely wrote: From: Jan Vesely

Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-26 Thread Tomasz Torcz
On Wed, Jun 26, 2013 at 03:55:12PM +0200, Jan Vesely wrote: From: Jan Vesely jves...@redhat.com Without this patch connections to iscsiuio fail, and strace prints: connect(8, {sa_family=AF_FILE, path=@ISCSID_UIP_ABSTRACT_NAMESPACE}, 32) = -1 ECONNREFUSED (Connection refused) Note that