Bug 75371
Summary: | recvmmsg() timeout misbehavior | ||
---|---|---|---|
Product: | Networking | Reporter: | Michael Kerrisk (mtk.manpages) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | normal | CC: | jezz, lovelylich, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.15-rc | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Michael Kerrisk
2014-05-03 10:22:34 UTC
It is possible to work around this bug using SO_RCVTIMEO (described in socket(7)) in add of timeout parameter of recvmmsg. Thus, recvmmsg will exit if no data was received since SO_RCVTIMEO or after timeout. In worst case, recvmmsg will exit after timeout + SO_RCVTIMEO (in case described by Michael Kerrisk). |