Skip to content
Commit 4ee461c5 authored by Pu Lehui's avatar Pu Lehui Committed by Greg Kroah-Hartman
Browse files

bpf, x86: Simplify the parsing logic of structure parameters



[ Upstream commit 7f788049 ]

Extra_nregs of structure parameters and nr_args can be
added directly at the beginning, and using a flip flag
to identifiy structure parameters. Meantime, renaming
some variables to make them more sense.

Signed-off-by: default avatarPu Lehui <pulehui@huawei.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20230105035026.3091988-1-pulehui@huaweicloud.com


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Stable-dep-of: 2b5dcb31 ("bpf, x64: Fix tailcall infinite loop")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 605c8d8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment