]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use GFP_KERNEL in sctp_init()
authorEric Dumazet <edumazet@google.com>
Tue, 15 Dec 2015 23:33:39 +0000 (15:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:27:45 +0000 (23:27 -0500)
commit689ec23b8f6542b72aa4abfd9ef0e6317a729bf3
tree62071d5081591c410a678e65744c3f676e87651d
parentd28e76456f03e8c083af9a1d584fbdef38255f0c
sctp: use GFP_KERNEL in sctp_init()

modules init functions being called from process context, we better
use GFP_KERNEL allocations to increase our chances to get these
high-order pages we want for SCTP hash tables.

This mostly matters if SCTP module is loaded once memory got fragmented.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c