Re: [PATCH] sctp: allow sctp_transmit_packet and others to use gfp

2016-03-13 Thread David Miller
From: Marcelo Ricardo Leitner Date: Thu, 10 Mar 2016 18:33:07 -0300 > Currently sctp_sendmsg() triggers some calls that will allocate memory > with GFP_ATOMIC even when not necessary. In the case of > sctp_packet_transmit it will allocate a linear skb that will be used to > construct the packet a

[PATCH] sctp: allow sctp_transmit_packet and others to use gfp

2016-03-10 Thread Marcelo Ricardo Leitner
Currently sctp_sendmsg() triggers some calls that will allocate memory with GFP_ATOMIC even when not necessary. In the case of sctp_packet_transmit it will allocate a linear skb that will be used to construct the packet and this may cause sends to fail due to ENOMEM more often than anticipated spec