linux-sctp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: linux-sctp@vger.kernel.org
Subject: RE: EAGAIN
Date: Sun, 07 Jun 2020 14:04:00 +0000	[thread overview]
Message-ID: <021ba1317114431290cc2aae12a4ee64@AcuMS.aculab.com> (raw)
In-Reply-To: <0D6B7E65-36EC-4132-B02C-0371099E480A@list.fink.org>

From: Michael Tuexen
> Sent: 07 June 2020 13:48
...
> If you killed the peer, I would assume that there is an SCTP message containing an
> ABORT chunk in the wire. Is that true? If that is true, you could subscribe to
> SCTP_ASSOC_CHANGE notification, which should tell you.

Actually for TCP-style 1-1 connections you must subscribe to
SCTP_ASSOC_CHANGE.

If you don't and the far end is killed (eg kernel crash) and
restarts with the same port number pair then you get no
indication that everything has disconnected and reconnected.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

  parent reply	other threads:[~2020-06-07 14:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-07 12:18 EAGAIN Andreas Fink
2020-06-07 12:47 ` EAGAIN Michael Tuexen
2020-06-07 12:59 ` EAGAIN Andreas Fink
2020-06-07 13:46 ` EAGAIN Michael Tuexen
2020-06-07 14:04 ` David Laight [this message]
2020-06-07 15:17 ` EAGAIN Michael Tuexen
2020-06-07 17:05 ` EAGAIN David Laight
2020-06-07 17:31 ` EAGAIN Michael Tuexen
2020-06-08  6:13 ` EAGAIN Andreas Fink

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=021ba1317114431290cc2aae12a4ee64@AcuMS.aculab.com \
    --to=david.laight@aculab.com \
    --cc=linux-sctp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).