ipmi:ssif: Add send_retries increment

commit 6ce7995a43 upstream.

A recent change removed an increment of send_retries, re-add it.

Fixes: 95767ed78a ipmi:ssif: resend_msg() cannot fail
Reported-by: Pavel Machek <pavel@denx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Corey Minyard 2023-04-04 12:09:14 +00:00 коммит произвёл Greg Kroah-Hartman
Родитель 3ef93b7bd9
Коммит 8fddbd9c5c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -564,8 +564,10 @@ static void retry_timeout(struct timer_list *t)
if (waiting)
start_get(ssif_info);
if (resend)
if (resend) {
start_resend(ssif_info);
ssif_inc_stat(ssif_info, send_retries);
}
}
static void watch_timeout(struct timer_list *t)