Bug 181092 - [libc] Invoking the function sendmsg(2) hangs with ipv6
Summary: [libc] Invoking the function sendmsg(2) hangs with ipv6
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tom Jones
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-06 15:30 UTC by jell
Modified: 2019-02-02 10:50 UTC (History)
1 user (show)

See Also:


Attachments
file.txt (3.06 KB, text/plain)
2013-08-06 15:30 UTC, jell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jell 2013-08-06 15:30:00 UTC
I wrote a simple tools to create a INET6 RAW socket, and try to invoke the function "sendmsg" to send a message.
And I found when the message size is 9210, the function "sendmsg" will be hung.

Fix: Patch attached with submission follows:
How-To-Repeat: 1. Compile my test code(in attachment)
2. config a ipv6 address like "5555::6/64"
3. Run my test tools as "./test 5555::7 9210"
4. The process "test" will be hung.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:27 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Tom Jones freebsd_committer 2019-02-02 10:50:54 UTC
I can reproduce this hang on 13CURRENT with a send size of 9193. With size 9192 I see see a bunch of fragments, but with 9193 - nothing.