kernel: fix copy&paste mistake in bridge offload code
[openwrt/staging/chunkeey.git] / 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);