From: Marcelo Ricardo Leitner <marcelo.leit...@gmail.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.leit...@gmail.com> Applied.