HomeFreeBSD

Do not pass NULL pointer to copyout in if_clone_list.

Description

Do not pass NULL pointer to copyout in if_clone_list.

Sometimes caller is only interested in how many clones
are there and NULL pointer is passed for the destination
buffer. Do not pass it to copyout then.

Details

Committed
kanDec 23 2017, 4:45 PM
Parents
rS327110: Remove dead initialization of the inode pointer.
Branches
Unknown
Tags
Unknown