Message ID | 20201109155941.r7umomidvq7pgzsi@linutronix.de |
---|---|
State | New |
Headers | show |
Series | [ANNOUNCE] v5.10-rc3-rt6 | expand |
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 3fce6bbbeb5b7..1218f3ce1713a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2281,8 +2281,10 @@ static int affine_move_task(struct rq *rq, struct task_struct *p, struct rq_flag * * Either way, we really should have a @pending here. */ - if (WARN_ON_ONCE(!pending)) + if (WARN_ON_ONCE(!pending)) { + task_rq_unlock(rq, p, rf); return -EINVAL; + } if (flags & SCA_MIGRATE_ENABLE) { diff --git a/localversion-rt b/localversion-rt index 0efe7ba1930e1..8fc605d806670 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt5 +-rt6