sctp: use GFP_USER for user-controlled kmalloc
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Wed, 23 Dec 2015 18:28:40 +0000 (16:28 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:18:47 +0000 (00:18 -0500)
commit9ba0b9636dc07a328ad3bffe9b22edb4cbb2901b
tree1ad14a8a711525b3745be6a464e78e3b8652ea78
parent3358a5c0c1578fa215f90a0e750579cd6258ddd9
sctp: use GFP_USER for user-controlled kmalloc

Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
missed two other spots.

For connectx, as it's more likely to be used by kernel users of the API,
it detects if GFP_USER should be used or not.

Fixes: cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c