]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83b7eac6b9cd7f5ff488b9dcd4267176e4d498c5
tree12fc14adfd2a56e97e04d8ccb0f9eb6a1f6e3cec
parentad1c1ea838a3af27be1918eee2722743ee780392
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