Date: Fri, 28 Aug 2020 19:52:17 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r364934 - in stable: 11/sys/kern 12/sys/kern Message-ID: <202008281952.07SJqHKe087007@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Aug 28 19:52:16 2020 New Revision: 364934 URL: https://svnweb.freebsd.org/changeset/base/364934 Log: MFC 361613: Permit SO_NO_DDP and SO_NO_OFFLOAD to be read via getsockopt(2). Modified: stable/12/sys/kern/uipc_socket.c Directory Properties: stable/12/ (props changed) Changes in other areas also in this revision: Modified: stable/11/sys/kern/uipc_socket.c Directory Properties: stable/11/ (props changed) Modified: stable/12/sys/kern/uipc_socket.c ============================================================================== --- stable/12/sys/kern/uipc_socket.c Fri Aug 28 19:50:40 2020 (r364933) +++ stable/12/sys/kern/uipc_socket.c Fri Aug 28 19:52:16 2020 (r364934) @@ -3023,6 +3023,8 @@ sogetopt(struct socket *so, struct sockopt *sopt) case SO_TIMESTAMP: case SO_BINTIME: case SO_NOSIGPIPE: + case SO_NO_DDP: + case SO_NO_OFFLOAD: optval = so->so_options & sopt->sopt_name; integer: error = sooptcopyout(sopt, &optval, sizeof optval);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008281952.07SJqHKe087007>