summaryrefslogtreecommitdiff
path: root/kernel/bpf/devmap.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-07-14 18:04:03 -1000
committerTejun Heo <tj@kernel.org>2024-07-14 18:04:03 -1000
commit9283ff5be1510a35356656a6c1efe14f765c936a (patch)
tree2c04ca4f99eca4f25faa98849ddb67b124a74110 /kernel/bpf/devmap.c
parent226c49446bccee1c2315bc88bbbca7e6542e98fc (diff)
parent57b56d16800e8961278ecff0dc755d46c4575092 (diff)
Merge branch 'for-6.10-fixes' into for-6.11
Diffstat (limited to 'kernel/bpf/devmap.c')
-rw-r--r--kernel/bpf/devmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/bpf/devmap.c b/kernel/bpf/devmap.c
index 4e2cdbb5629f..7f3b34452243 100644
--- a/kernel/bpf/devmap.c
+++ b/kernel/bpf/devmap.c
@@ -760,9 +760,6 @@ int dev_map_redirect_multi(struct net_device *dev, struct sk_buff *skb,
for (i = 0; i < dtab->n_buckets; i++) {
head = dev_map_index_hash(dtab, i);
hlist_for_each_entry_safe(dst, next, head, index_hlist) {
- if (!dst)
- continue;
-
if (is_ifindex_excluded(excluded_devices, num_excluded,
dst->dev->ifindex))
continue;