[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200513.131211.726414267223514414.davem@davemloft.net>
Date: Wed, 13 May 2020 13:12:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hch@....de
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] ipv6: set msg_control_is_user in
do_ipv6_getsockopt
From: Christoph Hellwig <hch@....de>
Date: Wed, 13 May 2020 21:36:41 +0200
> While do_ipv6_getsockopt does not call the high-level recvmsg helper,
> the msghdr eventually ends up being passed to put_cmsg anyway, and thus
> needs msg_control_is_user set to the proper value.
>
> Fixes: 1f466e1f15cf ("net: cleanly handle kernel vs user buffers for ->msg_control")
> Reported-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Christoph Hellwig <hch@....de>
Applied, thanks.
Powered by blists - more mailing lists