Thread (2 messages) flat view 2 messages, 2 authors, 2016-12-29

Re: [PATCH net-next] sctp: refactor sctp_datamsg_from_user

From: David Miller <davem@davemloft.net>
Date: 2016-12-29 19:44:16
Also in: linux-sctp

From: Marcelo Ricardo Leitner <marcelo.leitner@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.leitner@gmail.com>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help