HomeFreeBSD

When VM_MAP_WIRE_HOLESOK is not specified and vm_map_wire(9) encounters
rS195635Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When VM_MAP_WIRE_HOLESOK is not specified and vm_map_wire(9) encounters
non-readable and non-executable map entry, the entry is skipped from
wiring and loop is aborted. But, since MAP_ENTRY_WIRE_SKIPPED was not
set for the map entry, its wired_count is later erronously decremented.
vm_map_delete(9) for such map entry stuck in "vmmaps".

Properly set MAP_ENTRY_WIRE_SKIPPED when aborting the loop.

Reported by: John Marshall <john.marshall riverwillow com au>
Approved by: re (kensmith)

Details

Provenance
kibAuthored on
Parents
rS195634: Pad the following TCP related structs to allow MFCs of upcoming features/fixes
Branches
Unknown
Tags
Unknown

Event Timeline