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)
commit26afa0a4eb3fd87757f9de56ec5db5a03b14e120
tree4fb2335426fa09726592ff143124f2f4ade9cac6
parent22d5bd6867364b41576a712755271a7d6161abd6
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: fbee97feed9b ("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