linux-sctp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* num_ostreams and max_instreams negotiation
@ 2020-08-14 10:50 David Laight
  2020-08-14 12:41 ` David Laight
  0 siblings, 1 reply; 2+ messages in thread
From: David Laight @ 2020-08-14 10:50 UTC (permalink / raw)
  To: linux-sctp; +Cc: netdev

At some point the negotiation of the number of SCTP streams
seems to have got broken.
I've definitely tested it in the past (probably 10 years ago!)
but on a 5.8.0 kernel getsockopt(SCTP_INFO) seems to be
returning the 'num_ostreams' set by setsockopt(SCTP_INIT)
rather than the smaller of that value and that configured
at the other end of the connection.

I'll do a bit of digging.

	David

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: num_ostreams and max_instreams negotiation
  2020-08-14 10:50 num_ostreams and max_instreams negotiation David Laight
@ 2020-08-14 12:41 ` David Laight
  0 siblings, 0 replies; 2+ messages in thread
From: David Laight @ 2020-08-14 12:41 UTC (permalink / raw)
  To: David Laight, linux-sctp; +Cc: netdev

PiBBdCBzb21lIHBvaW50IHRoZSBuZWdvdGlhdGlvbiBvZiB0aGUgbnVtYmVyIG9mIFNDVFAgc3Ry
ZWFtcw0KPiBzZWVtcyB0byBoYXZlIGdvdCBicm9rZW4uDQo+IEkndmUgZGVmaW5pdGVseSB0ZXN0
ZWQgaXQgaW4gdGhlIHBhc3QgKHByb2JhYmx5IDEwIHllYXJzIGFnbyEpDQo+IGJ1dCBvbiBhIDUu
OC4wIGtlcm5lbCBnZXRzb2Nrb3B0KFNDVFBfSU5GTykgc2VlbXMgdG8gYmUNCj4gcmV0dXJuaW5n
IHRoZSAnbnVtX29zdHJlYW1zJyBzZXQgYnkgc2V0c29ja29wdChTQ1RQX0lOSVQpDQo+IHJhdGhl
ciB0aGFuIHRoZSBzbWFsbGVyIG9mIHRoYXQgdmFsdWUgYW5kIHRoYXQgY29uZmlndXJlZA0KPiBh
dCB0aGUgb3RoZXIgZW5kIG9mIHRoZSBjb25uZWN0aW9uLg0KPiANCj4gSSdsbCBkbyBhIGJpdCBv
ZiBkaWdnaW5nLg0KDQpJIGNhbid0IGZpbmQgdGhlIGNvZGUgdGhhdCBwcm9jZXNzZXMgdGhlIGlu
aXRfYWNrLg0KQnV0IHdoZW4gc2N0cF9wcm9jc3NfaW50KCkgc2F2ZXMgdGhlIHNtYWxsZXIgdmFs
dWUNCmluIGFzb2MtPmMuc2luaW50X21heF9vc3RyZWFtcy4NCg0KQnV0IGFmZTg5OTk2MmVlMDc5
IChpZiBJJ3ZlIHR5cGVkIGl0IHJpZ2h0KSBjaGFuZ2VkDQp0aGUgdmFsdWVzIFNDVFBfSU5GTyBy
ZXBvcnRlZC4NCkFwcGFyYW50bHkgYWRkaW5nICdzY3RwIHJlY29uZmlnJyBoYWQgY2hhbmdlZCB0
aGluZ3MuDQoNClNvIEkgc3VzcGVjdCB0aGlzIGhhcyBhbGwgYmVlbiBicm9rZW4gZm9yIG92ZXIg
MyB5ZWFycy4NCg0KCURhdmlkDQoNCi0NClJlZ2lzdGVyZWQgQWRkcmVzcyBMYWtlc2lkZSwgQnJh
bWxleSBSb2FkLCBNb3VudCBGYXJtLCBNaWx0b24gS2V5bmVzLCBNSzEgMVBULCBVSw0KUmVnaXN0
cmF0aW9uIE5vOiAxMzk3Mzg2IChXYWxlcykNCg=

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-14 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 10:50 num_ostreams and max_instreams negotiation David Laight
2020-08-14 12:41 ` David Laight

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).