kernel: fix copy&paste mistake in bridge offload code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2f024b7933
commit
54e1a6fced
|
@ -428,7 +428,7 @@
|
||||||
+ goto out;
|
+ goto out;
|
||||||
+
|
+
|
||||||
+ inp = br_port_get_rcu(dev);
|
+ inp = br_port_get_rcu(dev);
|
||||||
+ if (!p)
|
+ if (!inp)
|
||||||
+ goto out;
|
+ goto out;
|
||||||
+
|
+
|
||||||
+ vg = nbp_vlan_group_rcu(inp);
|
+ vg = nbp_vlan_group_rcu(inp);
|
||||||
|
|
Loading…
Reference in New Issue