[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160318223346.GC3387@mrl.redhat.com>
Date: Fri, 18 Mar 2016 19:33:46 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org, Neil Horman <nhorman@...driver.com>,
Vlad Yasevich <vyasevich@...il.com>, linux-sctp@...r.kernel.org
Subject: Re: [PATCH] sctp: align MTU to a word
On Fri, Mar 18, 2016 at 03:09:34PM -0700, Eric Dumazet wrote:
> On Fri, 2016-03-18 at 18:39 -0300, Marcelo Ricardo Leitner wrote:
>
> > - transport->pathmtu = dst_mtu(transport->dst);
> > + transport->pathmtu = dst_mtu(transport->dst) & ~3;
>
>
> Well, surely a helper doing this would be better than spreading & ~3 all
> over the places ;)
Heh.. agreed
for this and the other patch too, will post a v2
Thanks
Powered by blists - more mailing lists