Skip to content

Commit

Permalink
Squash to "selftests/bpf: Add bpf_burst scheduler"
Browse files Browse the repository at this point in the history
Fix the bpf selftests build error:

progs/mptcp_bpf_burst.c:37:18: error: no member named 'write_seq' in 'struct tcp_sock'
        return tp ? tp->write_seq == tp->snd_nxt : true;
                    ~~  ^
1 error generated.
make: *** [Makefile:614: tools/testing/selftests/bpf/mptcp_bpf_burst.bpf.o] Error 1
make: *** Waiting for unfinished jobs....

Reported-by: kernel test robot <yujie.liu@intel.com>
Closes: https://lore.kernel.org/r/202311180438.KHYloYBe-lkp@intel.com/
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Message-Id: <14a1120c9bc792ead2b926208ce85b5f10cb99fd.1700624540.git.geliang.tang@suse.com>
  • Loading branch information
geliangtang authored and Patchew Applier committed Nov 22, 2023
1 parent 895cf90 commit 9712119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/bpf/bpf_tcp_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ struct tcp_sock {
__u32 lsndtime;
__u32 prior_cwnd;
__u64 tcp_mstamp; /* most recent packet received/sent */
__u32 write_seq; /* Tail(+1) of data held in tcp send buffer */
bool is_mptcp;
} __attribute__((preserve_access_index));

Expand Down

0 comments on commit 9712119

Please sign in to comment.