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
1 changed files with 1 additions and 1 deletions

View File

@ -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);