Commit dacbc5a9 authored by bitcoffee's avatar bitcoffee
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/I71USM



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

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 avatarbitcoffee <liuxin350@huawei.com>
parent d5bbce33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4872,6 +4872,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
@@ -4872,6 +4872,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