projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcp: add accessors to read/set tp->snd_cwnd
[platform/kernel/linux-rpi.git]
/
net
/
core
/
filter.c
diff --git
a/net/core/filter.c
b/net/core/filter.c
index
707e2e4
..
0816468
100644
(file)
--- a/
net/core/filter.c
+++ b/
net/core/filter.c
@@
-4885,7
+4885,7
@@
static int _bpf_setsockopt(struct sock *sk, int level, int optname,
if (val <= 0 || tp->data_segs_out > tp->syn_data)
ret = -EINVAL;
else
- t
p->snd_cwnd = val
;
+ t
cp_snd_cwnd_set(tp, val)
;
break;
case TCP_BPF_SNDCWND_CLAMP:
if (val <= 0) {