Re: [PATCH] sctp: allow authenticating DATA chunks that are bundled with COOKIE_ECHO

2015-06-12 Thread David Miller
From: mleit...@redhat.com Date: Thu, 11 Jun 2015 14:49:46 -0300 > From: Marcelo Ricardo Leitner > > Currently, we can ask to authenticate DATA chunks and we can send DATA > chunks on the same packet as COOKIE_ECHO, but if you try to combine > both, the DATA chunk will be sent unauthenticated and

Re: [PATCH] sctp: allow authenticating DATA chunks that are bundled with COOKIE_ECHO

2015-06-12 Thread Vlad Yasevich
On 06/12/2015 07:26 AM, Neil Horman wrote: > On Thu, Jun 11, 2015 at 05:27:45PM -0700, David Miller wrote: >> From: mleit...@redhat.com >> Date: Thu, 11 Jun 2015 14:49:46 -0300 >> >>> From: Marcelo Ricardo Leitner >>> >>> Currently, we can ask to authenticate DATA chunks and we can send DATA >>> c

Re: [PATCH] sctp: allow authenticating DATA chunks that are bundled with COOKIE_ECHO

2015-06-12 Thread Neil Horman
On Thu, Jun 11, 2015 at 05:27:45PM -0700, David Miller wrote: > From: mleit...@redhat.com > Date: Thu, 11 Jun 2015 14:49:46 -0300 > > > From: Marcelo Ricardo Leitner > > > > Currently, we can ask to authenticate DATA chunks and we can send DATA > > chunks on the same packet as COOKIE_ECHO, but i

Re: [PATCH] sctp: allow authenticating DATA chunks that are bundled with COOKIE_ECHO

2015-06-11 Thread David Miller
From: mleit...@redhat.com Date: Thu, 11 Jun 2015 14:49:46 -0300 > From: Marcelo Ricardo Leitner > > Currently, we can ask to authenticate DATA chunks and we can send DATA > chunks on the same packet as COOKIE_ECHO, but if you try to combine > both, the DATA chunk will be sent unauthenticated and

[PATCH] sctp: allow authenticating DATA chunks that are bundled with COOKIE_ECHO

2015-06-11 Thread mleitner
From: Marcelo Ricardo Leitner Currently, we can ask to authenticate DATA chunks and we can send DATA chunks on the same packet as COOKIE_ECHO, but if you try to combine both, the DATA chunk will be sent unauthenticated and peer won't accept it, leading to a communication failure. This happens be