HomeFreeBSD

nfs_commonsubs.c: Get rid of variable used as a constant

Description

nfs_commonsubs.c: Get rid of variable used as a constant

The variable ncl_mbuf_mhlen is set to MHLEN and only
used in one place. This patch simply deletes it and
replaces it with MHLEN.

This patch should not affect semantics.

Spotted while fixing cases that could do large
NFSM_DISSECT() sizes.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Oct 29 2025, 12:28 AM
Parents
rG88a53301e198: padlock.4: only install on i386
Branches
Unknown
Tags
Unknown