kernel: fix copy&paste mistake in bridge offload code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2022-02-14 12:39:58 +01:00
parent 2f024b7933
commit 54e1a6fced

View File

@ -428,7 +428,7 @@
+ goto out;
+
+ inp = br_port_get_rcu(dev);
+ if (!p)
+ if (!inp)
+ goto out;
+
+ vg = nbp_vlan_group_rcu(inp);