kernel: fix copy&paste mistake in bridge offload code
authorFelix Fietkau <nbd@nbd.name>
Mon, 14 Feb 2022 11:39:58 +0000 (12:39 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 14 Feb 2022 11:40:14 +0000 (12:40 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/hack-5.10/600-bridge_offload.patch

index 985a79744c8de82a5329b9ad745fe74219ee2d7f..586353816c2edf33d77e75f7cf012db72fda9d39 100644 (file)
 +              goto out;
 +
 +      inp = br_port_get_rcu(dev);
-+      if (!p)
++      if (!inp)
 +              goto out;
 +
 +      vg = nbp_vlan_group_rcu(inp);