forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squash to "mptcp: add bpf_mptcp_sched_ops" -- fix bpf access
The current behavior allows to write to mptcp_sock at offset that is defined in mptcp_subflow_context and vice versa. This fixes this by splitting the checks for each struct type. Signed-off-by: Gregory Detal <[email protected]>
- Loading branch information
1 parent
56030f9
commit 9af2010
Showing
1 changed file
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters