Commit dba07468 authored by zhang-mingyi66's avatar zhang-mingyi66
Browse files

bpf: Introduces a new state to identify the location of

the sockops call

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7LE1H



-----------------------------------------------------

Currently, a permission status code is required to identify
that the access to the sockops is from the delayed link establishment
scenario. Therefore, "BPF_SOCK_OPS_TCP_DEFFER_CONNECT_CB"

Signed-off-by: default avatarzhang-mingyi66 <zhangmingyi5@huawei.com>
parent 5d7f8933
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6701,6 +6701,7 @@ enum {
					 * by the kernel or the
					 * earlier bpf-progs.
					 */
	BPF_SOCK_OPS_TCP_DEFER_CONNECT_CB,/* call ebpf to defer connect*/
};

/* List of TCP states. There is a build check in net/ipv4/tcp.c to detect
+1 −0
Original line number Diff line number Diff line
@@ -6701,6 +6701,7 @@ enum {
					 * by the kernel or the
					 * earlier bpf-progs.
					 */
	BPF_SOCK_OPS_TCP_DEFER_CONNECT_CB,/* call ebpf to defer connect*/
};

/* List of TCP states. There is a build check in net/ipv4/tcp.c to detect