[dpdk-dev] [PATCH] bpf: fix unreachable statement

Thomas Monjalon thomas at monjalon.net
Wed May 5 12:23:10 CEST 2021


22/04/2021 13:23, Ananyev, Konstantin:
> > From: HongBo Zheng <zhenghongbo3 at huawei.com>
> > 
> > In function 'eval_jcc', judgment 'op == EBPF_JLT' occurs
> > twice, as a result, the corresponding second statement
> > cannot be accessed.
> > 
> > This patch fix this problem.
> > 
> > Fixes: 8021917293d0 ("bpf: add extra validation for input BPF program")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: HongBo Zheng <zhenghongbo3 at huawei.com>
> > Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Applied, thanks





More information about the dev mailing list