[RHEL7,COMMIT] sctp: suppress warnings on high order memory allocation on packet transmit

Submitted by Konstantin Khorenko on Nov. 1, 2019, 1:30 p.m.

Details

Message ID 201911011330.xA1DUCpE028463@finist-ce7.sw.ru
State New
Series "sctp: suppress warnings on high order memory allocation on packet transmit"
Headers show

Commit Message

Konstantin Khorenko Nov. 1, 2019, 1:30 p.m.
The commit is pushed to "branch-rh7-3.10.0-1062.4.1.vz7.115.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1062.4.1.vz7.115.7
------>
commit cf47e9fee330a679f0d4410d459b5b1e386c2496
Author: Konstantin Khorenko <khorenko@virtuozzo.com>
Date:   Fri Nov 1 16:26:38 2019 +0300

    sctp: suppress warnings on high order memory allocation on packet transmit
    
    sctp is not widely used, let's just shut up the warning in
    sctp_packet_transmit().
    
    https://jira.sw.ru/browse/PSBM-99098
    
    Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
 net/sctp/output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/net/sctp/output.c b/net/sctp/output.c
index 2a3b0ac64380..5b65d78ba3a1 100644
--- a/net/sctp/output.c
+++ b/net/sctp/output.c
@@ -468,7 +468,7 @@  int sctp_packet_transmit(struct sctp_packet *packet, gfp_t gfp)
 	} else {
 		pkt_size = packet->size;
 	}
-	head = alloc_skb(pkt_size + MAX_HEADER, gfp);
+	head = alloc_skb(pkt_size + MAX_HEADER, gfp | __GFP_ORDER_NOWARN);
 	if (!head)
 		goto err;
 	if (gso) {