diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index d6649246188d7..59e68d2396f3d 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -425,6 +425,7 @@ static struct sock *dccp_v6_request_recv_sock(const struct sock *sk, struct ipv6_pinfo *newnp; const struct ipv6_pinfo *np = inet6_sk(sk); struct ipv6_txoptions *opt; + struct ipv6_txoptions *opt; struct inet_sock *newinet; struct dccp6_sock *newdp6; struct sock *newsk; @@ -829,6 +830,7 @@ static int dccp_v6_connect(struct sock *sk, struct sockaddr *uaddr, struct dccp_sock *dp = dccp_sk(sk); struct in6_addr *saddr = NULL, *final_p, final; struct ipv6_txoptions *opt; + struct ipv6_txoptions *opt; struct flowi6 fl6; struct dst_entry *dst; int addr_type;