[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161229.144414.88701034057801749.davem@davemloft.net>
Date: Thu, 29 Dec 2016 14:44:14 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: marcelo.leitner@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
nhorman@...driver.com, vyasevich@...il.com
Subject: Re: [PATCH net-next] sctp: refactor sctp_datamsg_from_user
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Date: Thu, 29 Dec 2016 15:53:28 -0200
> This patch refactors sctp_datamsg_from_user() in an attempt to make it
> better to read and avoid code duplication for handling the last
> fragment.
>
> It also avoids doing division and remaining operations. Even though, it
> should still operate similarly as before this patch.
>
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Applied.
Powered by blists - more mailing lists