]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Reset data_meta before running programs attached to devmap entry
authorDavid Ahern <dsahern@kernel.org>
Mon, 8 Jun 2020 15:17:23 +0000 (09:17 -0600)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 9 Jun 2020 18:19:35 +0000 (11:19 -0700)
commita91b862f57d0a678582beb4d329f38d219a6d840
tree4fb2335426fa09726592ff143124f2f4ade9cac6
parent4315a8e5b2e816f69f79611618148f19a02906be
bpf: Reset data_meta before running programs attached to devmap entry

This is a new context that does not handle metadata at the moment, so
mark data_meta invalid.

Fixes: 80a3d07b0ea3 ("bpf: Add support to attach bpf program to a devmap entry")
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200608151723.9539-1-dsahern@kernel.org
kernel/bpf/devmap.c