Thanks for your review.
Garrett D'Amore wrote:
> ip.c:28759 This should probably be bugged up in bugster. Are there
> different levels of policy for configuring different stack instances?
It isn't a separate bug. Today it is only possible to enable CGTP from
the global zone, hence we register PRIV_SYS_NET_CONFIG. But with these
changes each IP Instance can have CGTP enabled independently. A result
of that is that PRIV_SYS_IP_CONFIG is sufficient. (The latter privilege
is given to each exclusive-IP zone, while the former is only in the
global zone.)
> ip.c: 28766 You removed the versioning checks on the ops. Why? (Ah,
> now I see it, you have a redundant check in ip_cgtp_filter_register...)
It was needed before because it was possible to "register" without
calling the register function; could just set the global
ip_cgtp_filter_ops variable. Since that is no longer possible we don't
need the second version check.
> ip_if.c:7281 I'd prefer to see to each side of a boolean && enclosed
> with parens when it the test is compound (i.e. use " if ((x != NULL)
> && ... " instead of " if (x != NULL &&"
>
> (Yes, I know its stylistic nic, but it avoids having to think about
> operator predence. :-)
I don't think Sun's cstyle recommends adding such parens.
And C != LISP ;-)
Erik
_______________________________________________
networking-discuss mailing list
[email protected]