Skip to contentSkip to conversation

sctp: fix association hangs due to reassembly/ordering logic

PATCH In review Roberts, Lee A. 2 participants 3 messages Feb 20, 2013 – Feb 21, 2013 1 message not in the archive

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

PATCH 1/3 sctp: fix association hangs due to reassembly/ordering logic

In reply to a message not in the archive

RnJvbTogTGVlIEEuIFJvYmVydHMgPGxlZS5yb2JlcnRzQGhwLmNvbT4NCg0KUmVzb2x2ZSBTQ1RQ IGFzc29jaWF0aW9uIGhhbmdzIG9ic2VydmVkIGR1cmluZyBTQ1RQIHN0cmVzcw0KdGVzdGluZy4g IE9ic2VydmFibGUgc3ltcHRvbXMgaW5jbHVkZSBjb21tdW5pY2F0aW9ucyBoYW5ncw0Kd2l0aCBk YXRhIGJlaW5nIGhlbGQgaW4gdGhlIGFzc29jaWF0aW9uIGxvYmJ5IChvcmRlcmluZykNCnF1ZXVl LiAgQ2xvc2UgZXhhbWluYXRpb24gb2YgcmVhc3NlbWJseS9vcmRlcmluZyBxdWV1ZXMgc2hvd3MN CmR1cGxpY2F0ZWQgcGFja2V0cy4NCg0KSW4gc2N0cF90c25tYXBfZ3JvdygpLCBjb3JyZWN0IG9m Zi1ieS1vbmUgZXJyb3JzIHdoZW4gY29weWluZw0KYW5kIHJlc2l6aW5nIHRoZSB0c25tYXAuICBJ ZiBtYXhfdHNuX3NlZW4gaXMgaW4gdGhlIExTQiBvZiB0aGUNCndvcmQsIHRoaXMgYml0IGNhbiBi ZSBsb3N0LCBjYXVzaW5nIHRoZSBjb3JyZXNwb25kaW5nIHBhY2tldA0KdG8gYmUgdHJhbnNtaXR0 ZWQgYWdhaW4gYW5kIHRvIGJlIGVudGVyZWQgYXMgYSBkdXBsaWNhdGUgaW50bw0KdGhlIFNDVFAg cmVhc3NlbWJseS9vcmRlcmluZyBxdWV1ZXMuDQoNClBhdGNoIGFwcGxpZXMgdG8gbGludXgtMy44 IGtlcm5lbC4NCg0KU2lnbmVkLW9mZi1ieTogTGVlIEE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3B5KG5ldywgbWFw LT50c25fbWFwLCBtYXAtPm1heF90c25fc2VlbiAtIG1hcC0+YmFzZV90c24pOw0KKwliaXRtYXBf Y29weShuZXcsIG1hcC0+dHNuX21hcCwgbWFwLT5tYXhfdHNuX3NlZW4gLSBtYXAtPmJhc2VfdHNu ICsgMSk7DQogCWtmcmVlKG1hcC0+dHNuX21hcCk7DQogCW1hcC0+dHNuX21hcCA9IG5ldzsNCiAJ bWFwLT5sZW4gPSBsZW47DQoNCg=

maintainer
#2 lore raw

Your email client has corrupted every one of your patches, splitting up new lines as well as making other alterations, making them useless for us.

Please read Documentation/email-clients.txt to learn how to fix this problem, and only resubmit your patches when you can successfully email a patch to yourself and cleanly apply the patch you receive in that email as-is.

Thanks.

#3 lore raw

David,

Quoted 12 lines

-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Wednesday, February 20, 2013 10:53 AM
To: Roberts, Lee A.
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 1/3] sctp: fix association hangs due to reassembly/ordering logic

Your email client has corrupted every one of your patches, splitting up new lines as well as making other alterations, making them useless for us.

Quoted 6 lines

Please read Documentation/email-clients.txt to learn how to fix this problem, and only resubmit your patches when you can successfully email a patch to yourself and cleanly apply the patch you receive in that email as-is.

Thanks.

I have addressed the e-mail client issue and have successfully mailed the patches to myself and applied them. I will be sending updated version shortly.

I have incorporated changes and recommendations from Vlad Yasevich into the updated patches.

- Lee Roberts