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

Commit 58df09ae authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: fix null-ptr dereference on invalid mesh configuration"

parents 5e474b46 091eac30
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9700,6 +9700,9 @@ static int nl80211_join_mesh(struct sk_buff *skb, struct genl_info *info)
		if (err)
			return err;

		if (!setup.chandef.chan)
			return -EINVAL;

		err = validate_beacon_tx_rate(rdev, setup.chandef.chan->band,
					      &setup.beacon_rate);
		if (err)