sctp: do not leak chunks that are sent to unconfirmed paths
[deliverable/linux.git] / net / sctp / input.c
index 21a2d6b7abaf4829dde3c9634955281a41d1fecf..db76f1ab4ac2cb16b4568f0d9fbe4e3b90deaa1c 100644 (file)
@@ -221,7 +221,7 @@ int sctp_rcv(struct sk_buff *skb)
                goto discard_release;
 
        /* Create an SCTP packet structure. */
-       chunk = sctp_chunkify(skb, asoc, sk);
+       chunk = sctp_chunkify(skb, asoc, sk, GFP_ATOMIC);
        if (!chunk)
                goto discard_release;
        SCTP_INPUT_CB(skb)->chunk = chunk;
This page took 0.024991 seconds and 5 git commands to generate.