HomeFreeBSD

Fix the copy of addresses passed from userland in table replace command.

Description

Fix the copy of addresses passed from userland in table replace command.

The size2 is the maximum userland buffer size (used when the addresses are
copied back to userland).

Obtained from: pfSense
MFC after: 3 days
Sponsored by: Rubicon Communications (Netgate)

Details

Provenance
loosAuthored on
Parents
rS286861: For kernel builds, make the -Wshift-negative-value non-fatal for now.
Branches
Unknown
Tags
Unknown