HomeFreeBSD

MFC: r283273

Description

MFC: r283273
The NFS client wasn't handling getdirentries(2) requests for sizes
that are not an exact multiple of DIRBLKSIZ correctly. Fortunately
readdir(3) always uses an exact multiple of DIRBLKSIZ, so few applications
were affected. This patch fixes this problem by reducing the size
of the directory read to an exact multiple of DIRBLKSIZ.

Details

Provenance
rmacklemAuthored on
Parents
rS283986: Fix the build by hiding ieee80211_add_xmit_params and
Branches
Unknown
Tags
Unknown