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

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

Merge "packet: remove error prone po->running check"

parents 79274496 e8164b79
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1450,10 +1450,6 @@ static int fanout_add(struct sock *sk, u16 id, u16 type_flags)

	mutex_lock(&fanout_mutex);

	err = -EINVAL;
	if (!po->running)
		goto out;

	err = -EALREADY;
	if (po->fanout)
		goto out;