Bug 12323
Summary: | recv() with MSG_PEEK on an AF_UNIX socket only reads a single skb | ||
---|---|---|---|
Product: | Networking | Reporter: | Henri Verbeet (hverbeet) |
Component: | Other | Assignee: | Arnaldo Carvalho de Melo (acme) |
Status: | REOPENED --- | ||
Severity: | normal | CC: | aconole, alan, sidney |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.5.0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Test case |
Description
Henri Verbeet
2008-12-29 08:57:45 UTC
If this is still seen on modern kernels then please re-open/update Created attachment 125431 [details]
Test case
This still exists on modern kernels (tried 3.5.0-17-generic), it'd be awesome if it could be fixed.
Here's a short Python script to demonstrate the problem. It passes on FreeBSD and Mac OS.
This bug can be resolved with the following commits: - 4613012db1d911f80897f9446a49de817b2c4c47 - 9f389e35674f5b086edd70ed524ca0f287259725 - e9193d60d363e4dff75ff6d43a48f22be26d59c7 |