[openwrt/openwrt] kernel: fix copy&paste mistake in bridge offload code

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 14 03:44:12 PST 2022


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/54e1a6fced535cc2a8ed5204072dbf8882761b00

commit 54e1a6fced535cc2a8ed5204072dbf8882761b00
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 14 12:39:58 2022 +0100

    kernel: fix copy&paste mistake in bridge offload code
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 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);



More information about the lede-commits mailing list