sctp: GFP_ATOMIC is not needed in sctp_setsockopt_events
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Mon, 8 Jan 2018 21:02:27 +0000 (19:02 -0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 19:53:22 +0000 (14:53 -0500)
commit2e83acb970684008baee471427270c029a76ddbd
tree12fc14adfd2a56e97e04d8ccb0f9eb6a1f6e3cec
parent661e4e33a984fbd05e6b573ce4bb639ca699c130
sctp: GFP_ATOMIC is not needed in sctp_setsockopt_events

So replace it with GFP_USER and also add __GFP_NOWARN.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c