Page MenuHomeFreeBSD

Fix NFS client handling of copyin() error return
Needs ReviewPublic

Authored by rmacklem on Dec 7 2023, 3:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 21 2024, 11:09 AM
Unknown Object (File)
Oct 1 2024, 7:26 PM
Unknown Object (File)
Sep 27 2024, 2:18 AM
Unknown Object (File)
Sep 21 2024, 4:54 AM
Unknown Object (File)
Sep 7 2024, 3:58 PM
Unknown Object (File)
Sep 7 2024, 11:40 AM
Unknown Object (File)
Aug 30 2024, 8:56 PM
Unknown Object (File)
Aug 30 2024, 8:46 PM
Subscribers

Details

Reviewers
markj
emaste
Summary

This patch is based on one by markj@, but includes
a few additions:

  • Added a few m_freem() calls to avoid mbuf leaks
  • Handled nfscl_doiods() return of EFAULT for both read and write.
Test Plan

Not tested by me. Hopefully markj@ will be able to
do so.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped