aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-11-05 02:55:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-05 02:55:49 -0500
commitac75773c2742d82cbcb078708df406e9017224b7 (patch)
tree7e7b1aa5131c4a61aabd9d86d7332eca98d66a89 /net/dccp/ipv6.c
parent61e6473efbd6087e1db3aaa93a5266c5bfd8aa99 (diff)
dccp: Per-socket initialisation of feature negotiation
This provides feature-negotiation initialisation for both DCCP sockets and DCCP request_sockets, to support feature negotiation during connection setup. It also resolves a FIXME regarding the congestion control initialisation. Thanks to Wei Yongjun for help with the IPv6 side of this patch. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index d4ce1224e008..4e172ccfd76c 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -426,7 +426,8 @@ static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb)
426 if (req == NULL) 426 if (req == NULL)
427 goto drop; 427 goto drop;
428 428
429 dccp_reqsk_init(req, skb); 429 if (dccp_reqsk_init(req, dccp_sk(sk), skb))
430 goto drop_and_free;
430 431
431 dreq = dccp_rsk(req); 432 dreq = dccp_rsk(req);
432 if (dccp_parse_options(sk, dreq, skb)) 433 if (dccp_parse_options(sk, dreq, skb))