net: ethernet: marvell: mvneta: use new api ethtool_{get|set}_link_ksettings
[deliverable/linux.git] / net / sctp / inqueue.c
index 147d975b04559f7858b040b1f04dbc559ef2ec78..c30ddb0f31907f57c5ce85b00dbe04260ca1cb2e 100644 (file)
@@ -89,12 +89,10 @@ void sctp_inq_push(struct sctp_inq *q, struct sctp_chunk *chunk)
         * Eventually, we should clean up inqueue to not rely
         * on the BH related data structures.
         */
-       local_bh_disable();
        list_add_tail(&chunk->list, &q->in_chunk_list);
        if (chunk->asoc)
                chunk->asoc->stats.ipackets++;
        q->immediate.func(&q->immediate);
-       local_bh_enable();
 }
 
 /* Peek at the next chunk on the inqeue. */
@@ -217,13 +215,13 @@ new_skb:
                chunk->auth = 0;
                chunk->has_asconf = 0;
                chunk->end_of_packet = 0;
-               chunk->ecn_ce_done = 0;
                if (chunk->head_skb) {
                        struct sctp_input_cb
                                *cb = SCTP_INPUT_CB(chunk->skb),
                                *head_cb = SCTP_INPUT_CB(chunk->head_skb);
 
                        cb->chunk = head_cb->chunk;
+                       cb->af = head_cb->af;
                }
        }
 
This page took 0.026815 seconds and 5 git commands to generate.