HomeFreeBSD

Fix reading after end of file for file-backed LUNs.

Description

Fix reading after end of file for file-backed LUNs.

If backing file is smaller then the LUN size, we have to explicitly clear
the rest of the buffer to not leak some random data from previous I/Os.

Details

Provenance
mavAuthored on
Parents
rS287874: In tcp_ctlinput() separate the (ip == NULL) block from the rest of the
Branches
Unknown
Tags
Unknown