Loading net/dccp/ipv6.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -483,6 +483,9 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, newsk->sk_backlog_rcv = dccp_v4_do_rcv; newsk->sk_backlog_rcv = dccp_v4_do_rcv; newnp->pktoptions = NULL; newnp->pktoptions = NULL; newnp->opt = NULL; newnp->opt = NULL; newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->mcast_oif = inet6_iif(skb); newnp->mcast_oif = inet6_iif(skb); newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; Loading Loading @@ -558,7 +561,9 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, /* Clone RX bits */ /* Clone RX bits */ newnp->rxopt.all = np->rxopt.all; newnp->rxopt.all = np->rxopt.all; /* Clone pktoptions received with SYN */ newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->pktoptions = NULL; newnp->pktoptions = NULL; if (ireq6->pktopts != NULL) { if (ireq6->pktopts != NULL) { newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); Loading net/ipv6/tcp_ipv6.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1133,6 +1133,7 @@ static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb, newtp->af_specific = &tcp_sock_ipv6_mapped_specific; newtp->af_specific = &tcp_sock_ipv6_mapped_specific; #endif #endif newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->ipv6_fl_list = NULL; newnp->pktoptions = NULL; newnp->pktoptions = NULL; Loading Loading @@ -1200,6 +1201,7 @@ static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb, First: no IPv4 options. First: no IPv4 options. */ */ newinet->inet_opt = NULL; newinet->inet_opt = NULL; newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->ipv6_fl_list = NULL; Loading Loading
net/dccp/ipv6.c +6 −1 Original line number Original line Diff line number Diff line Loading @@ -483,6 +483,9 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, newsk->sk_backlog_rcv = dccp_v4_do_rcv; newsk->sk_backlog_rcv = dccp_v4_do_rcv; newnp->pktoptions = NULL; newnp->pktoptions = NULL; newnp->opt = NULL; newnp->opt = NULL; newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->mcast_oif = inet6_iif(skb); newnp->mcast_oif = inet6_iif(skb); newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; newnp->mcast_hops = ipv6_hdr(skb)->hop_limit; Loading Loading @@ -558,7 +561,9 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, /* Clone RX bits */ /* Clone RX bits */ newnp->rxopt.all = np->rxopt.all; newnp->rxopt.all = np->rxopt.all; /* Clone pktoptions received with SYN */ newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->pktoptions = NULL; newnp->pktoptions = NULL; if (ireq6->pktopts != NULL) { if (ireq6->pktopts != NULL) { newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); Loading
net/ipv6/tcp_ipv6.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1133,6 +1133,7 @@ static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb, newtp->af_specific = &tcp_sock_ipv6_mapped_specific; newtp->af_specific = &tcp_sock_ipv6_mapped_specific; #endif #endif newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->ipv6_fl_list = NULL; newnp->pktoptions = NULL; newnp->pktoptions = NULL; Loading Loading @@ -1200,6 +1201,7 @@ static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb, First: no IPv4 options. First: no IPv4 options. */ */ newinet->inet_opt = NULL; newinet->inet_opt = NULL; newnp->ipv6_mc_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_ac_list = NULL; newnp->ipv6_fl_list = NULL; newnp->ipv6_fl_list = NULL; Loading