summaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2016-12-29 18:53:28 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-29 20:44:03 +0100
commitbfd2e4b8734d34632f00391994b89c558dcb7d4e (patch)
treea2a06ddee8ec85184793b0a9ba1b80513e4ac420 /Documentation/sysctl
parentMerge branch 'bnxt_en-updates' (diff)
downloadlinux-bfd2e4b8734d34632f00391994b89c558dcb7d4e.tar.xz
linux-bfd2e4b8734d34632f00391994b89c558dcb7d4e.zip
sctp: refactor sctp_datamsg_from_user
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/sysctl')
0 files changed, 0 insertions, 0 deletions