This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/20187] on rawhide, the 'size' convience variable of socket.recvmsg doesn't work


https://sourceware.org/bugzilla/show_bug.cgi?id=20187

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
That parameter was removed:

commit 2da62906b1e298695e1bb725927041cd59942c98
Author: Al Viro <viro@zeniv.linux.org.uk>
Date:   Sat Mar 14 21:13:46 2015 -0400

    [net] drop 'size' argument of sock_recvmsg()

    all callers have it equal to msg_data_left(msg).

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2da62906b1e298695e1bb725927041cd59942c98


It looks like msg_data_left() is simple (for now), roughly
$msg->msg_iter->count, but I haven't tried this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]