sctp: avoid identifying address family many times for a chunk
[cascardo/linux.git] / net / sctp / inqueue.c
index 147d975..8fc773f 100644 (file)
@@ -224,6 +224,7 @@ new_skb:
                                *head_cb = SCTP_INPUT_CB(chunk->head_skb);
 
                        cb->chunk = head_cb->chunk;
+                       cb->af = head_cb->af;
                }
        }