Skip to contentSkip to conversation

New: no-blocking socket can send data through non-existent local port

Bug 76521 Stephen Hemminger 1 participant 1 message May 20, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Mon, 19 May 2014 18:21:19 -0700
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 76521] New: no-blocking socket can send data through non-existent local port

https://bugzilla.kernel.org/show_bug.cgi?id=76521

            Bug ID: 76521
           Summary: no-blocking socket can send data through non-existent
                    local port
           Product: Networking
           Version: 2.5
    Kernel Version: 3.11.0-15
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: IPV4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 136811
--> https://bugzilla.kernel.org/attachment.cgi?id=136811&action=edit
Run code to reproduce the issue

The attached code is a epoll network client supposed to test a network server in high traffic case. Multiple threads create non-blocking sockets to simulate heavy network load. Most sockets work well, but occasionally some sockets can send data via non-existent local port, and can read data from the port as well. Maybe I am not acquainted enough with epoll networking programming, and even not sure if it is a bug in no-blocking i/o or epoll, and also not certain which websites are the right place to discuss epoll or no-blocking i/o technologies.

Anyone has any ideas would be greatly appreciated. Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.