From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netdev@vger.kernel.org, Neil Horman <nhorman@tuxdriver.com>,
Vlad Yasevich <vyasevich@gmail.com>,
linux-sctp@vger.kernel.org
Subject: Re: [PATCH] sctp: align MTU to a word
Date: Fri, 18 Mar 2016 19:33:46 -0300 [thread overview]
Message-ID: <20160318223346.GC3387@mrl.redhat.com> (raw)
In-Reply-To: <1458338974.31963.15.camel@edumazet-glaptop3.roam.corp.google.com>
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
prev parent reply other threads:[~2016-03-18 22:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 21:39 [PATCH] sctp: align MTU to a word Marcelo Ricardo Leitner
2016-03-18 22:09 ` Eric Dumazet
2016-03-18 22:33 ` Marcelo Ricardo Leitner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160318223346.GC3387@mrl.redhat.com \
--to=marcelo.leitner@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=linux-sctp@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=vyasevich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.