]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bpf: Sync uapi bpf.h header for the tooling infra
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Jan 2024 09:16:11 +0000 (10:16 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jan 2024 22:43:12 +0000 (14:43 -0800)
Both commit 91051f003948 ("tcp: Dump bound-only sockets in inet_diag.")
and commit 985b8ea9ec7e ("bpf, docs: Fix bpf_redirect_peer header doc")
missed the tooling header sync. Fix it.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h

index 7f24d898efbb43b48c1e4733ce03952bc3183bbe..a00f8a5623e132226838b07c8a676291535bf8bb 100644 (file)
@@ -4839,9 +4839,9 @@ union bpf_attr {
  *             going through the CPU's backlog queue.
  *
  *             The *flags* argument is reserved and must be 0. The helper is
- *             currently only supported for tc BPF program types at the ingress
- *             hook and for veth device types. The peer device must reside in a
- *             different network namespace.
+ *             currently only supported for tc BPF program types at the
+ *             ingress hook and for veth and netkit target device types. The
+ *             peer device must reside in a different network namespace.
  *     Return
  *             The helper returns **TC_ACT_REDIRECT** on success or
  *             **TC_ACT_SHOT** on error.
@@ -6904,6 +6904,7 @@ enum {
        BPF_TCP_LISTEN,
        BPF_TCP_CLOSING,        /* Now a valid state */
        BPF_TCP_NEW_SYN_RECV,
+       BPF_TCP_BOUND_INACTIVE,
 
        BPF_TCP_MAX_STATES      /* Leave at the end! */
 };