Revision 3504bb639ec793c181de6e33a205fc8ca6cf32bf authored by David S. Miller on 29 September 2015, 20:47:08 UTC, committed by David S. Miller on 29 September 2015, 20:47:08 UTC
Aaron Conole says: ==================== af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag 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). v2->v3: - Added Eric Dumazet's suggestion for #define to static inline - Fixed an issue calling unix_state_lock() with an invalid argument v3->v4: - Eliminated an XXX comment - Changed from goto unlock to explicit unix_state_unlock() and break ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
File | Mode | Size |
---|---|---|
Documentation | ||
arch | ||
bench | ||
config | ||
python | ||
scripts | ||
tests | ||
trace | ||
ui | ||
util | ||
.gitignore | -rw-r--r-- | 389 bytes |
Build | -rw-r--r-- | 1.2 KB |
CREDITS | -rw-r--r-- | 603 bytes |
MANIFEST | -rw-r--r-- | 2.5 KB |
Makefile | -rw-r--r-- | 2.0 KB |
Makefile.perf | -rw-r--r-- | 19.1 KB |
builtin-annotate.c | -rw-r--r-- | 10.3 KB |
builtin-bench.c | -rw-r--r-- | 6.9 KB |
builtin-buildid-cache.c | -rw-r--r-- | 10.3 KB |
builtin-buildid-list.c | -rw-r--r-- | 3.0 KB |
builtin-data.c | -rw-r--r-- | 2.6 KB |
builtin-diff.c | -rw-r--r-- | 29.2 KB |
builtin-evlist.c | -rw-r--r-- | 1.8 KB |
builtin-help.c | -rw-r--r-- | 12.1 KB |
builtin-inject.c | -rw-r--r-- | 16.3 KB |
builtin-kmem.c | -rw-r--r-- | 44.5 KB |
builtin-kvm.c | -rw-r--r-- | 36.9 KB |
builtin-list.c | -rw-r--r-- | 2.1 KB |
builtin-lock.c | -rw-r--r-- | 23.1 KB |
builtin-mem.c | -rw-r--r-- | 7.2 KB |
builtin-probe.c | -rw-r--r-- | 13.5 KB |
builtin-record.c | -rw-r--r-- | 31.2 KB |
builtin-report.c | -rw-r--r-- | 26.6 KB |
builtin-sched.c | -rw-r--r-- | 47.4 KB |
builtin-script.c | -rw-r--r-- | 48.6 KB |
builtin-stat.c | -rw-r--r-- | 34.4 KB |
builtin-timechart.c | -rw-r--r-- | 46.9 KB |
builtin-top.c | -rw-r--r-- | 33.2 KB |
builtin-trace.c | -rw-r--r-- | 86.1 KB |
builtin.h | -rw-r--r-- | 2.2 KB |
command-list.txt | -rw-r--r-- | 911 bytes |
design.txt | -rw-r--r-- | 17.3 KB |
perf-archive.sh | -rw-r--r-- | 1.3 KB |
perf-completion.sh | -rw-r--r-- | 5.3 KB |
perf-read-vdso.c | -rw-r--r-- | 510 bytes |
perf-sys.h | -rw-r--r-- | 2.2 KB |
perf-with-kcore.sh | -rw-r--r-- | 6.7 KB |
perf.c | -rw-r--r-- | 14.5 KB |
perf.h | -rw-r--r-- | 1.8 KB |
Computing file changes ...