Dan McDonald via illumos-developer
2014-10-06 19:22:39 UTC
NOTE: To be fair, I'm not sure how much of what I'm complaining about here is you just dealing with what you inherited. My apologies if anything I say here is shooting the messenger.
One last overarching architectural question --> How does one store /etc/ipf/* entries for the GZ-controlled non-GZ netstacks? I know you SmartOS folks use SMF and other oddness to affect these changes, but not everyone treats their global zone like SmartOS does.
Anyway, on to the code:
usr/src/uts/intel/ipf/ipf.global-objs.debug64
usr/src/uts/sparc/ipf/ipf.global-objs.debug64
usr/src/cmd/ipf/tools/ipfzone.h
usr/src/uts/common/inet/ipf/fil.c
* Looks good, no comments needed.
usr/src/uts/common/inet/ipf/netinet/ip_fil.h
* Even though it's u_32_t, ipfz_gz is essentially a boolean, right?
usr/src/cmd/ipf/tools/ipfzone.c
* Seems plausible. I had to look at ip_fil.h though, first.
* After seeing this, the diffs to ipf.c vs. the rest are even more confusing to me as a possible maintainer, never mind as a potential administrator.
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
* Lines 1043-1073 & 603-645 look an awful lot alike. Can you possibly factor them out?
* maybe Lines 1126-1154 as well?!
usr/src/uts/common/inet/ipf/ip_log.c
* is it just me, or is this a completely different bug?
usr/src/uts/common/inet/ipf/ip_state.c
* I thought I didn't go to the omnibus webrev, but this I already reviewed. :)
usr/src/uts/common/inet/ipf/netinet/ipf_stack.h
* "pgz"? Does this name have to be that opaque? At least a comment here...
usr/src/uts/common/inet/ipf/solaris.c
* Okay, some of my previous comments may be obviated by the introductory text here.
Thanks!
Dan
-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175072-86d49504
Modify Your Subscription: https://www.listbox.com/member/?member_id=21175072&id_secret=21175072-abdf7b7e
Powered by Listbox: http://www.listbox.com
One last overarching architectural question --> How does one store /etc/ipf/* entries for the GZ-controlled non-GZ netstacks? I know you SmartOS folks use SMF and other oddness to affect these changes, but not everyone treats their global zone like SmartOS does.
Anyway, on to the code:
usr/src/uts/intel/ipf/ipf.global-objs.debug64
usr/src/uts/sparc/ipf/ipf.global-objs.debug64
usr/src/cmd/ipf/tools/ipfzone.h
usr/src/uts/common/inet/ipf/fil.c
* Looks good, no comments needed.
usr/src/uts/common/inet/ipf/netinet/ip_fil.h
* Even though it's u_32_t, ipfz_gz is essentially a boolean, right?
usr/src/cmd/ipf/tools/ipfzone.c
* Seems plausible. I had to look at ip_fil.h though, first.
* After seeing this, the diffs to ipf.c vs. the rest are even more confusing to me as a possible maintainer, never mind as a potential administrator.
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
* Lines 1043-1073 & 603-645 look an awful lot alike. Can you possibly factor them out?
* maybe Lines 1126-1154 as well?!
usr/src/uts/common/inet/ipf/ip_log.c
* is it just me, or is this a completely different bug?
usr/src/uts/common/inet/ipf/ip_state.c
* I thought I didn't go to the omnibus webrev, but this I already reviewed. :)
usr/src/uts/common/inet/ipf/netinet/ipf_stack.h
* "pgz"? Does this name have to be that opaque? At least a comment here...
usr/src/uts/common/inet/ipf/solaris.c
* Okay, some of my previous comments may be obviated by the introductory text here.
Thanks!
Dan
-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175072-86d49504
Modify Your Subscription: https://www.listbox.com/member/?member_id=21175072&id_secret=21175072-abdf7b7e
Powered by Listbox: http://www.listbox.com