[PATCH net-next] rxrpc: Correct rack timer warning to report unexpected mode
Simon Horman
horms at kernel.org
Tue Mar 17 09:47:53 PDT 2026
On Sat, Mar 14, 2026 at 12:51:00PM -0700, Alok Tiwari wrote:
> rxrpc_rack_timer_expired() clears call->rack_timer_mode to OFF before
> the switch. The default case warning therefore always prints OFF and
> doesn't identify the unexpected timer mode.
>
> Log the saved mode value instead so the warning reports the actual
> unexpected rack timer mode.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari at oracle.com>
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the linux-afs
mailing list