HomeFreeBSD

nfsm_advance() would panic() when the offs argument was negative.

Description

nfsm_advance() would panic() when the offs argument was negative.
The code assumed that this would indicate a corrupted mbuf chain, but
it could simply be caused by bogus RPC message data.
This patch replaces the panic() with a printf() plus error return.

MFC after: 1 week

Details

Provenance
rmacklemAuthored on Nov 20 2018, 1:56 AM
Parents
rG1d171e797152: r304026 added code that started statistics gathering for an operation
Branches
Unknown
Tags
Unknown

Event Timeline