Skip to content

Commit

Permalink
bpf: Add BPF_FUNC_tcp_send_ack helper
Browse files Browse the repository at this point in the history
Add a helper to send out a tcp-ack.  It will be used in the later
bpf_dctcp implementation that requires to send out an ack
when the CE state changed.

Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
  • Loading branch information
iamkafai authored and Alexei Starovoitov committed Jan 9, 2020
1 parent 0baf26b commit 206057f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
11 changes: 10 additions & 1 deletion include/uapi/linux/bpf.h
24 changes: 23 additions & 1 deletion net/ipv4/bpf_tcp_ca.c

0 comments on commit 206057f

Please sign in to comment.