[PATCH bpf] bpf: allow clearing all sock_ops callback flags

2019-04-15 Thread Viet Hoang Tran
updates the documentation to clarify the ability to clear flags of this helper function. Signed-off-by: Hoang Tran --- include/uapi/linux/bpf.h | 9 - net/core/filter.c| 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/bpf.h b/include/uapi

[PATCH net-next] tcp: fix under-evaluated ssthresh in TCP Vegas

2017-09-27 Thread Hoang Tran
With the commit 76174004a0f19785 (tcp: do not slow start when cwnd equals ssthresh), the comparison to the reduced cwnd in tcp_vegas_ssthresh() would under-evaluate the ssthresh. Signed-off-by: Hoang Tran --- net/ipv4/tcp_vegas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git