Martin KaFai Lau ebf9e8e653 bpf: Embed kernel CONFIG check into the if statement in bpf_setsockopt
This patch moves the "#ifdef CONFIG_XXX" check into the "if/else"
statement itself.  The change is done for the bpf_setsockopt()
function only.  It will make the latter patches easier to follow
without the surrounding ifdef macro.

Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220817061758.4178374-1-kafai@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-08-18 17:06:13 -07:00
..
2022-05-16 11:33:59 +01:00
2022-06-09 21:53:12 -07:00
2022-06-09 21:52:55 -07:00
2021-12-16 07:18:35 -08:00
2022-08-03 16:29:08 -07:00
2022-05-16 10:18:56 +01:00
2020-06-18 20:46:23 -07:00