netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag
@ 2015-09-22  0:27 Aaron Conole
  2015-09-22  0:27 ` [PATCH v3 1/2] [net] af_unix: Convert the unix_sk macro to an inline function for type safety Aaron Conole
  2015-09-22  0:27 ` [PATCH v3 2/2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag Aaron Conole
  0 siblings, 2 replies; 9+ messages in thread
From: Aaron Conole @ 2015-09-22  0:27 UTC (permalink / raw)
  To: netdev; +Cc: Aaron Conole

This patch set implements a bugfix for kernel.org bugzilla #12323, allowing
MSG_PEEK to return all queued data on the unix domain socket, not just the
data contained in a single SKB. 

This is the v3 version of this patch, which includes a suggested modification
by Eric Dumazet to convert the unix_sk() conversion macro to a static inline
function. These patches are independent and can be applied separately.

This set was tested over a 24-hour period, utilizing a loop continually 
executing the bugzilla issue attached python code. It was instrumented with
a pr_err_once() ([   13.798683] unix: went there at least one time).

Aaron Conole (2):
  [net] af_unix: Convert the unix_sk macro to an inline function for    
    type safety
  [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK
    flag

 include/net/af_unix.h |  6 +++++-
 net/unix/af_unix.c    | 19 +++++++++++++++++--
 2 files changed, 22 insertions(+), 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-09-29 20:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22  0:27 [PATCH v3 0/2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag Aaron Conole
2015-09-22  0:27 ` [PATCH v3 1/2] [net] af_unix: Convert the unix_sk macro to an inline function for type safety Aaron Conole
2015-09-22  0:27 ` [PATCH v3 2/2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag Aaron Conole
2015-09-24 19:14   ` David Miller
2015-09-25 13:25     ` Aaron Conole
2015-09-26 22:50     ` [PATCH v4 0/2] " Aaron Conole
2015-09-26 22:50       ` [PATCH v4 1/2] [net] af_unix: Convert the unix_sk macro to an inline function for type safety Aaron Conole
2015-09-26 22:50       ` [PATCH v4 2/2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag Aaron Conole
2015-09-29 20:47       ` [PATCH v4 0/2] " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).