On 01/24/2019 06:16 AM, Yafang Shao wrote:
> As strncpy(..., TCP_CA_NAME_MAX-1) is used in bpf_setsockopt(),
> this change  will make it more consistent with the bpf_setsockopt() above.
> 
> Acked-by: Martin KaFai Lau <ka...@fb.com>
> Acked-by: Lawrence Brakmo <bra...@fb.com>
> Signed-off-by: Yafang Shao <laoar.s...@gmail.com>

While not wrong, I also don't think it improves much either. As mentioned,
that code is totally fine as it currently is.

Reply via email to