Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcb47aab authored by Varka Bhadram's avatar Varka Bhadram Committed by Marcel Holtmann
Browse files

mac802154: use goto label on failure

parent da25cf6a
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -85,8 +85,7 @@ ieee802154_subif_frame(struct ieee802154_sub_if_data *sdata,
	default:
	default:
		spin_unlock_bh(&sdata->mib_lock);
		spin_unlock_bh(&sdata->mib_lock);
		pr_debug("invalid dest mode\n");
		pr_debug("invalid dest mode\n");
		kfree_skb(skb);
		goto fail;
		return NET_RX_DROP;
	}
	}


	spin_unlock_bh(&sdata->mib_lock);
	spin_unlock_bh(&sdata->mib_lock);