]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/dccp/ccids/ccid2.c
[PATCH] DCCP: Fix DCCP GFP_KERNEL allocation in atomic context
[karo-tx-linux.git] / net / dccp / ccids / ccid2.c
index fd38b05d6f79ec146edda973d2a307653a0c01f8..05324db7170c9174f324f679d89572b1f1d88b94 100644 (file)
@@ -298,7 +298,7 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int more, unsigned int len)
                int rc;
 
                ccid2_pr_debug("allocating more space in history\n");
-               rc = ccid2_hc_tx_alloc_seq(hctx, CCID2_SEQBUF_LEN, GFP_KERNEL);
+               rc = ccid2_hc_tx_alloc_seq(hctx, CCID2_SEQBUF_LEN, gfp_any());
                BUG_ON(rc); /* XXX what do we do? */
 
                next = hctx->ccid2hctx_seqh->ccid2s_next;