Bluetooth: Serialize RFCOMMCREATEDEV and RFCOMMRELEASEDEV ioctls
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / tcp_minisocks.c
index 97b684159861bc451219bf66359afa288049a63e..7a436c517e443f5c201251dbb90552f703f7a9b5 100644 (file)
@@ -297,6 +297,7 @@ void tcp_time_wait(struct sock *sk, int state, int timeo)
                        tw->tw_v6_daddr = sk->sk_v6_daddr;
                        tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr;
                        tw->tw_tclass = np->tclass;
+                       tw->tw_flowlabel = np->flow_label >> 12;
                        tw->tw_ipv6only = np->ipv6only;
                }
 #endif
@@ -425,7 +426,7 @@ struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req,
 
                tcp_set_ca_state(newsk, TCP_CA_Open);
                tcp_init_xmit_timers(newsk);
-               skb_queue_head_init(&newtp->out_of_order_queue);
+               __skb_queue_head_init(&newtp->out_of_order_queue);
                newtp->write_seq = newtp->pushed_seq = treq->snt_isn + 1;
 
                newtp->rx_opt.saw_tstamp = 0;