Skip to content

Commit

Permalink
Squash to "bpf: Add bpf_mptcp_sched_ops"
Browse files Browse the repository at this point in the history
No need to change subflow->stale bit-filed now, so drop the writing
access of it.

Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
geliangtang authored and intel-lab-lkp committed Aug 2, 2023
1 parent 9c2795e commit 95f249d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/mptcp/bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ static int bpf_mptcp_sched_btf_struct_access(struct bpf_verifier_log *log,
case offsetof(struct mptcp_subflow_context, scheduled):
end = offsetofend(struct mptcp_subflow_context, scheduled);
break;
case offsetofend(struct mptcp_subflow_context, map_csum_len):
end = offsetof(struct mptcp_subflow_context, data_avail);
break;
case offsetof(struct mptcp_subflow_context, avg_pacing_rate):
end = offsetofend(struct mptcp_subflow_context, avg_pacing_rate);
break;
Expand Down

0 comments on commit 95f249d

Please sign in to comment.