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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to