diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-27 22:14:26 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-01-27 22:14:26 +0100 |
commit | e823ddb3b0703e034615fc8c62fdec0d5924e649 (patch) | |
tree | 35f64623bcb8b36e3ca0b8e2662b79517b667ddc /sys/man/1 | |
parent | 72be22cd3ad8236dba47d3c56d1ba8af5b16a1c2 (diff) |
devmnt: handle rpc buffer exhaustion on mntflushalloc()
this bug happens when the kernel runs out of mount rpc
buffers when allocating a flush rpc. in this case, mntflushalloc()
will errorjump out of mountio() leaving the currently in
flight rpc in the mount. the caller of mountrpc()/mountio()
frees the rpc thats still queued in the mount leaving
to interesting results.
for the fix, we add a waserror() arround mntflushalloc() and
handle the error case like a mount rpc failure which will
properly dequeue the rpc's in flight.
Diffstat (limited to 'sys/man/1')
0 files changed, 0 insertions, 0 deletions