Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-16 Thread Marcelo Ricardo Leitner
On Thu, Jul 16, 2015 at 09:09:57AM -0400, Vlad Yasevich wrote: > On 07/15/2015 03:03 PM, Marcelo Ricardo Leitner wrote: > > On Fri, Jul 10, 2015 at 03:27:02PM -0300, Marcelo Ricardo Leitner wrote: > >> On Fri, Jul 10, 2015 at 01:14:21PM -0400, Vlad Yasevich wrote: > >>> On 07/10/2015 12:17 PM, Marc

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-16 Thread Vlad Yasevich
On 07/15/2015 03:03 PM, Marcelo Ricardo Leitner wrote: > On Fri, Jul 10, 2015 at 03:27:02PM -0300, Marcelo Ricardo Leitner wrote: >> On Fri, Jul 10, 2015 at 01:14:21PM -0400, Vlad Yasevich wrote: >>> On 07/10/2015 12:17 PM, Marcelo Ricardo Leitner wrote: On Fri, Jul 10, 2015 at 11:35:28AM -040

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-15 Thread Marcelo Ricardo Leitner
On Fri, Jul 10, 2015 at 03:27:02PM -0300, Marcelo Ricardo Leitner wrote: > On Fri, Jul 10, 2015 at 01:14:21PM -0400, Vlad Yasevich wrote: > > On 07/10/2015 12:17 PM, Marcelo Ricardo Leitner wrote: > > > On Fri, Jul 10, 2015 at 11:35:28AM -0400, Vlad Yasevich wrote: ... > > >> have been numerous tim

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-10 Thread Marcelo Ricardo Leitner
On Fri, Jul 10, 2015 at 01:14:21PM -0400, Vlad Yasevich wrote: > On 07/10/2015 12:17 PM, Marcelo Ricardo Leitner wrote: > > On Fri, Jul 10, 2015 at 11:35:28AM -0400, Vlad Yasevich wrote: > >> On 07/10/2015 07:53 AM, Marcelo Ricardo Leitner wrote: > >>> On Thu, Jul 09, 2015 at 09:55:19PM +0200, Mich

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-10 Thread Vlad Yasevich
On 07/10/2015 12:17 PM, Marcelo Ricardo Leitner wrote: > On Fri, Jul 10, 2015 at 11:35:28AM -0400, Vlad Yasevich wrote: >> On 07/10/2015 07:53 AM, Marcelo Ricardo Leitner wrote: >>> On Thu, Jul 09, 2015 at 09:55:19PM +0200, Michael Tuexen wrote: > On 09 Jul 2015, at 18:54, Marcelo Ricardo Leitn

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-10 Thread Marcelo Ricardo Leitner
On Fri, Jul 10, 2015 at 11:35:28AM -0400, Vlad Yasevich wrote: > On 07/10/2015 07:53 AM, Marcelo Ricardo Leitner wrote: > > On Thu, Jul 09, 2015 at 09:55:19PM +0200, Michael Tuexen wrote: > >>> On 09 Jul 2015, at 18:54, Marcelo Ricardo Leitner > >>> wrote: > >>> > >>> Cc'ing Michael too. > >> I'm

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-10 Thread Vlad Yasevich
On 07/10/2015 07:53 AM, Marcelo Ricardo Leitner wrote: > On Thu, Jul 09, 2015 at 09:55:19PM +0200, Michael Tuexen wrote: >>> On 09 Jul 2015, at 18:54, Marcelo Ricardo Leitner >>> wrote: >>> >>> Cc'ing Michael too. >> I'm not familiar with the Linux kernel code, so I can't comment on it. >> But ma

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-10 Thread Marcelo Ricardo Leitner
On Thu, Jul 09, 2015 at 09:55:19PM +0200, Michael Tuexen wrote: > > On 09 Jul 2015, at 18:54, Marcelo Ricardo Leitner > > wrote: > > > > Cc'ing Michael too. > I'm not familiar with the Linux kernel code, so I can't comment on it. > But making sure to use a source address belonging to the emittin

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-09 Thread Michael Tuexen
> On 09 Jul 2015, at 18:54, Marcelo Ricardo Leitner wrote: > > Cc'ing Michael too. I'm not familiar with the Linux kernel code, so I can't comment on it. But making sure to use a source address belonging to the emitting interface makes sense for me. Best regards Michael > > On Tue, Jul 07, 2015

Re: [RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-09 Thread Marcelo Ricardo Leitner
Cc'ing Michael too. On Tue, Jul 07, 2015 at 02:42:25PM -0300, Marcelo Ricardo Leitner wrote: > Hi folks, > > This is an attempt to better choose a src address for sctp packets as > peers with rp_filter could be dropping our packets in some situations. > With this patch, we try to respect and use

[RFC PATCH net-next] sctp: fix src address selection if using secondary addresses

2015-07-07 Thread Marcelo Ricardo Leitner
Hi folks, This is an attempt to better choose a src address for sctp packets as peers with rp_filter could be dropping our packets in some situations. With this patch, we try to respect and use a src address that belongs to the interface we are putting the packet out. I have that feeling that the