Skip to contentSkip to conversation

New: Connect failure on sctp socket under debug

Bug 104301 Stephen Hemminger 1 participant 1 message Sep 9, 2015

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

Begin forwarded message:

Date: Wed, 9 Sep 2015 13:57:38 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 104301] New: Connect failure on sctp socket under debug

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

            Bug ID: 104301
           Summary: Connect failure on sctp socket under debug
           Product: Networking
           Version: 2.5
    Kernel Version: 3.13.0-63-generic
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

When starting an sctp client with gdb, I experience a connect failure (-1 is returned), with errno 106 (Transport endpoint is already connected).

If I then cat /proc/net/sctp/assocs, I see the connection and I see the successful handshake on wireshark.

If I ignore the connect failure, and pretend I'm actually connected, I can send and receive packets without any trouble.

The same client application, run not-under-gdb, does not exhibits the issue and the connect returns 0.

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