HomeFreeBSD

When copying a NAT rule struct to userland for save by ipfs, use the

Description

When copying a NAT rule struct to userland for save by ipfs, use the
length of the struct in memmove() rather than an unintialized variable.
This fixes the first of two kernel page faults when ipfs is invoked.

PR: 235110
Reported by: David.Boyd49@twc.com
MFC after: 2 weeks

Details

Provenance
cyAuthored on
Parents
rS343589: freebsd-update: regenerate man page database after update
Branches
Unknown
Tags
Unknown