Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [netbsd-5] src/sys/kern



Iain Hibbert <plunky%rya-online.net@localhost> wrote:

> This broke the build. I think it needs either revision 1.77 which
> introduced domain_sysctllog but that may introduce other complexities, or
> the attached patch which makes it use the local clog as per other
> instances..

My bad, I did not attached the right patch to the ticket pullup. Iain's
patch is the right fix, and it is equivalent to the code I have been
running and testing for weeks.

> iain
> --0-1025344845-1308502352=:1174
> Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff
> Content-Transfer-Encoding: BASE64
> Content-ID: <alpine.NEB.2.00.1106191752310.1174%galant.ukfsn.org@localhost>
> Content-Description: 
> Content-Disposition: attachment; filename=diff
> 
> Index: uipc_domain.c
> ===================================================================
> RCS file: /cvsroot/src/sys/kern/uipc_domain.c,v
> retrieving revision 1.76.12.1
> diff -u -p -r1.76.12.1 uipc_domain.c
> --- uipc_domain.c     18 Jun 2011 16:42:03 -0000      1.76.12.1
> +++ uipc_domain.c     19 Jun 2011 16:49:21 -0000
> @@ -496,7 +496,7 @@ SYSCTL_SETUP(sysctl_net_setup, "sysctl n
>                      SYSCTL_DESCR("SOCK_SEQPACKET settings"),
>                      NULL, 0, NULL, 0,
>                      CTL_NET, PF_LOCAL, SOCK_SEQPACKET, CTL_EOL);
> -     sysctl_createv(&domain_sysctllog, 0, NULL, NULL,
> +     sysctl_createv(clog, 0, NULL, NULL,
>                      CTLFLAG_PERMANENT,
>                      CTLTYPE_NODE, "dgram",
>                      SYSCTL_DESCR("SOCK_DGRAM settings"),
> @@ -516,7 +516,7 @@ SYSCTL_SETUP(sysctl_net_setup, "sysctl n
>                                   "block list"),
>                      sysctl_unpcblist, 0, NULL, 0,
>                      CTL_NET, PF_LOCAL, SOCK_SEQPACKET, CTL_CREATE, CTL_EOL);
> -     sysctl_createv(&domain_sysctllog, 0, NULL, NULL,
> +     sysctl_createv(clog, 0, NULL, NULL,
>                      CTLFLAG_PERMANENT,
>                      CTLTYPE_STRUCT, "pcblist",
>                      SYSCTL_DESCR("SOCK_DGRAM protocol control block list"),
> 
> --0-1025344845-1308502352=:1174--


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index