On Tue, Jan 09, 2018 at 11:23:32AM +0100, Martin Pieuchot wrote:
> --- netinet6/ip6_output.c     1 Sep 2017 15:05:31 -0000       1.232
> +++ netinet6/ip6_output.c     9 Jan 2018 10:16:10 -0000
> @@ -1033,12 +1033,12 @@ int
>  ip6_ctloutput(int op, struct socket *so, int level, int optname,
>      struct mbuf *m)
>  {
> -     int privileged, optdatalen, uproto;
> +     int optdatalen, uproto;
>       void *optdata;
>       struct inpcb *inp = sotoinpcb(so);
>       int error, optval;
>       struct proc *p = curproc; /* For IPSec and rdomain */
> -     u_int rtid = 0;
> +     u_int privileged, rtid = 0;
>  
>       error = optval = 0;
>  

"privileged" is passed down as an boolean signed int.  So it does
not matter where it is converted.

anyway OK bluhm@

Reply via email to