diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-11 20:53:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-11 20:53:04 -0400 |
commit | 5cb960a80531211379f8f05c575725d7630098fe (patch) | |
tree | aee22f43cf5c2ae26a6994e6aa5c427285ff0ff4 /net/dccp/options.c | |
parent | ceeff7541e5a4ba8e8d97ffbae32b3f283cb7a3f (diff) | |
parent | be4c798a41bf626cdaacf96c382f116ed2f7dbe9 (diff) |
Merge branch 'master' of git://eden-feed.erg.abdn.ac.uk/net-2.6
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index d2a84a2fecee..43bc24e761d0 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -107,9 +107,11 @@ int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, | |||
107 | * | 107 | * |
108 | * CCID-specific options are ignored during connection setup, as | 108 | * CCID-specific options are ignored during connection setup, as |
109 | * negotiation may still be in progress (see RFC 4340, 10.3). | 109 | * negotiation may still be in progress (see RFC 4340, 10.3). |
110 | * The same applies to Ack Vectors, as these depend on the CCID. | ||
110 | * | 111 | * |
111 | */ | 112 | */ |
112 | if (dreq != NULL && opt >= 128) | 113 | if (dreq != NULL && (opt >= 128 || |
114 | opt == DCCPO_ACK_VECTOR_0 || opt == DCCPO_ACK_VECTOR_1)) | ||
113 | goto ignore_option; | 115 | goto ignore_option; |
114 | 116 | ||
115 | switch (opt) { | 117 | switch (opt) { |