[rds-devel] FW: RDS -- how to detect peer is gone ?

Tang, Changqing changquing.tang at hp.com
Wed Apr 7 23:37:58 PDT 2010


If I use 32b unmodified, rds message without control message works, but if I use control
Message, it does not work. I even print msg_controllen from kernel function rds_sendmsg(), it does not match what I passed in in my 32bit user app code.

Idea ?

--CQ

-----Original Message-----
From: Tina Yang [mailto:tina.yang at oracle.com]
Sent: Thursday, April 08, 2010 1:33 AM
To: Tang, Changqing
Cc: Andy Grover; RDS Devel
Subject: Re: [rds-devel] FW: RDS -- how to detect peer is gone ?

Tang, Changqing wrote:
> Tina,
>         I mimic the 64bit interface to 64bit kernel in 32bit application.
> However, when I call sendmsg(), I got return value -1 and errno = ENOTCONN,
>
>         The same code 64bit works fine.
>
>         Do you have idea what problem could be ?
>
>
    Because you are using a 64b interface with a 32b application.
    Try 32b unmodified.
> Thanks.
>
> --CQ
>
>




More information about the rds-devel mailing list