Re: git: db158b9942c1 - main - libnv: let nvlist_recv() pass flags to recv()

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 06 Dec 2021 20:26:06 UTC
On Mon, Dec 06, 2021 at 06:58:03PM +0000, Robert Wing wrote:
> The branch main has been updated by rew:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=db158b9942c15f13f4fa09bd29435da882cf865c
> 
> commit db158b9942c15f13f4fa09bd29435da882cf865c
> Author:     Robert Wing <rew@FreeBSD.org>
> AuthorDate: 2021-12-06 18:36:37 +0000
> Commit:     Robert Wing <rew@FreeBSD.org>
> CommitDate: 2021-12-06 18:54:55 +0000
> 
>     libnv: let nvlist_recv() pass flags to recv()
Is this public library?  If yes, did you changed ABI of some entry points?

>     
>     Differential Revision:  https://reviews.freebsd.org/D32721
> ---
>  lib/libnv/msgio.c          | 4 ++--
>  lib/libnv/msgio.h          | 2 +-
>  sys/contrib/libnv/nvlist.c | 4 ++--
>  3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/lib/libnv/msgio.c b/lib/libnv/msgio.c
> index 7cec4c898f04..899f2d3a0ff1 100644
> --- a/lib/libnv/msgio.c
> +++ b/lib/libnv/msgio.c
> @@ -450,7 +450,7 @@ buf_send(int sock, void *buf, size_t size)
>  }
>  
>  int
> -buf_recv(int sock, void *buf, size_t size)
> +buf_recv(int sock, void *buf, size_t size, int flags)
>  {
>  	ssize_t done;
>  	unsigned char *ptr;