Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
14934efa
Commit
14934efa
authored
14 years ago
by
David S. Miller
Browse files
Options
Downloads
Plain Diff
Merge branch 'dccp' of
git://eden-feed.erg.abdn.ac.uk/net-next-2.6
parents
86aa7785
bfbb2346
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Documentation/networking/dccp.txt
+1
-0
1 addition, 0 deletions
Documentation/networking/dccp.txt
net/dccp/dccp.h
+2
-1
2 additions, 1 deletion
net/dccp/dccp.h
net/dccp/input.c
+1
-1
1 addition, 1 deletion
net/dccp/input.c
net/dccp/sysctl.c
+3
-1
3 additions, 1 deletion
net/dccp/sysctl.c
with
7 additions
and
3 deletions
Documentation/networking/dccp.txt
+
1
−
0
View file @
14934efa
...
...
@@ -167,6 +167,7 @@ rx_ccid = 2
seq_window = 100
The initial sequence window (sec. 7.5.2) of the sender. This influences
the local ackno validity and the remote seqno validity windows (7.5.1).
Values in the range Wmin = 32 (RFC 4340, 7.5.2) up to 2^32-1 can be set.
tx_qlen = 5
The size of the transmit buffer in packets. A value of 0 corresponds
...
...
This diff is collapsed.
Click to expand it.
net/dccp/dccp.h
+
2
−
1
View file @
14934efa
...
...
@@ -426,7 +426,8 @@ static inline void dccp_update_gsr(struct sock *sk, u64 seq)
{
struct
dccp_sock
*
dp
=
dccp_sk
(
sk
);
dp
->
dccps_gsr
=
seq
;
if
(
after48
(
seq
,
dp
->
dccps_gsr
))
dp
->
dccps_gsr
=
seq
;
/* Sequence validity window depends on remote Sequence Window (7.5.1) */
dp
->
dccps_swl
=
SUB48
(
ADD48
(
dp
->
dccps_gsr
,
1
),
dp
->
dccps_r_seq_win
/
4
);
/*
...
...
This diff is collapsed.
Click to expand it.
net/dccp/input.c
+
1
−
1
View file @
14934efa
...
...
@@ -260,7 +260,7 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb)
*/
if
(
time_before
(
now
,
(
dp
->
dccps_rate_last
+
sysctl_dccp_sync_ratelimit
)))
return
0
;
return
-
1
;
DCCP_WARN
(
"Step 6 failed for %s packet, "
"(LSWL(%llu) <= P.seqno(%llu) <= S.SWH(%llu)) and "
...
...
This diff is collapsed.
Click to expand it.
net/dccp/sysctl.c
+
3
−
1
View file @
14934efa
...
...
@@ -21,7 +21,8 @@
/* Boundary values */
static
int
zero
=
0
,
u8_max
=
0xFF
;
static
unsigned
long
seqw_min
=
32
;
static
unsigned
long
seqw_min
=
DCCPF_SEQ_WMIN
,
seqw_max
=
0xFFFFFFFF
;
/* maximum on 32 bit */
static
struct
ctl_table
dccp_default_table
[]
=
{
{
...
...
@@ -31,6 +32,7 @@ static struct ctl_table dccp_default_table[] = {
.
mode
=
0644
,
.
proc_handler
=
proc_doulongvec_minmax
,
.
extra1
=
&
seqw_min
,
/* RFC 4340, 7.5.2 */
.
extra2
=
&
seqw_max
,
},
{
.
procname
=
"rx_ccid"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment