From 54e1a6fced535cc2a8ed5204072dbf8882761b00 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Feb 2022 12:39:58 +0100 Subject: [PATCH] kernel: fix copy&paste mistake in bridge offload code Signed-off-by: Felix Fietkau --- target/linux/generic/hack-5.10/600-bridge_offload.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/hack-5.10/600-bridge_offload.patch b/target/linux/generic/hack-5.10/600-bridge_offload.patch index 985a79744c..586353816c 100644 --- a/target/linux/generic/hack-5.10/600-bridge_offload.patch +++ b/target/linux/generic/hack-5.10/600-bridge_offload.patch @@ -428,7 +428,7 @@ + goto out; + + inp = br_port_get_rcu(dev); -+ if (!p) ++ if (!inp) + goto out; + + vg = nbp_vlan_group_rcu(inp);