]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp: move tcp_skb_cb->sacked flags to enum
authorPhilo Lu <lulie@linux.alibaba.com>
Sun, 21 Apr 2024 04:20:08 +0000 (12:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2024 07:52:12 +0000 (08:52 +0100)
commit14b5fb2145caeb909a1cd57d9cd5e0c3cd005642
treeaa8c4baa2eae97db46536dfef4c67f067608e3b2
parentd806871612712f1d08eb7ce81efd4ca81ca5bca1
tcp: move tcp_skb_cb->sacked flags to enum

Move the flag definitions for tcp_skb_cb->sacked into a new enum named
tcp_skb_cb_sacked_flags, then we can get access to them in bpf via
vmlinux.h, e.g., in tracepoints.

This patch does not change any existing functionality.

Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h