commit | 1b2f08df0a886e0565c71821d5230cba395f5c18 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed May 13 21:36:41 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 13 13:11:45 2020 -0700 |
tree | cdfe2a9f056357309270e7e738e11f194304825f | |
parent | 87f785e96218247ed47107792c20f3d86778da4b [diff] |
ipv6: set msg_control_is_user in do_ipv6_getsockopt 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@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>