aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bpf/net/bpf_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf/net/bpf_filter.c b/bpf/net/bpf_filter.c
index a51ed78..22aff79 100644
--- a/bpf/net/bpf_filter.c
+++ b/bpf/net/bpf_filter.c
@@ -608,7 +608,7 @@ bpf_validate(f, len)
/*
* Check for constant division by 0.
*/
- if (BPF_RVAL(p->code) == BPF_K && p->k == 0)
+ if (BPF_SRC(p->code) == BPF_K && p->k == 0)
return 0;
break;
default: