Reviewer Name: Dan McDonald

Document/Module Title: Surya

Document/Module Author: Sangeeta Misra and Sowmini Varadhan

Document/Module Version/Date: 22 March 2006

Reviewer Preparation Time: More than I have... :-P

NOTE:  Jim's comment about "wx nits" applies --> Please fix those before
       putback.

NOTE2:  The order of review is random.  I did some of this on Wednesday
        while waiting for IKE-STC runs.  The rest I did on Friday and Sunday
        night.

usr/src/cmd/ipf/Makefile.ipf
usr/src/cmd/ipf/tools/Makefile.tools
usr/src/common/ipf/ip_compat.h
usr/src/common/ipf/ip_pool.c
usr/src/common/ipf/ip_pool.h
usr/src/uts/common/net/Makefile
usr/src/uts/common/net/if.h
usr/src/uts/common/inet/udp/udp.c
usr/src/uts/common/net/radix.h
usr/src/uts/common/inet/ip_ire.h
usr/src/uts/common/inet/ip_impl.h
usr/src/uts/common/inet/ip/ip_rts.c
usr/src/uts/common/inet/ip_ftable.h

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-0    Looks good, no other comments needed.


usr/src/common/ipf/solaris.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-1    Lines 813-4     T3      Have you been able to exercise this codepath
                                and test for an ire reference leak?  Or have
                                you put an IRE_REFRELE() in there and seen
                                if you get a panic?


usr/src/uts/common/inet/tcp/tcp.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-2    Lines 18024-9   E3      Clean this comment up a little, including
                                spelling "following" correctly and other
                                legibility issues.


usr/src/uts/common/inet/ipf/qif.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-3    Line 271        T2      Are you suggesting that for S9 and earlier
                                S10 releases that ire_fp_mp is also going
                                away?!?  This doesn't seem right.


usr/src/uts/common/inet/ipf/pkt.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-4    Lines 242,      T2      Same S9/S10-early questions.  See DM-3.
        259-261

DM-5    Line 261        T3      Same leaking ire reference questions.  See DM-2.


usr/src/uts/common/inet/ip_ndp.h

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-6    Lines 68-76     E3      I worried for a second reading this, thinking
                                you were acquiring/releasing/checking *both*
                                locks.  A small comment on line 67 about
                                "version-agile locking macros" or something
                                similar would go a long way toward reducing
                                risk of heart-attacks.  :)


usr/src/uts/common/inet/ip/ip_ndp.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-7    Line 237        T2      Why check for ill_isv6 when you ASSERT() it
                                to be true earlier?  Just make the
                                assignment!

DM-8    Line 608        T4      You may wish to ASSERT(ipversion == IPV6)
                                here.  Either that, or change it to a boolean
                                kinda like ill_isv6.  This comment applies to
                                many other places in the code too.  (It makes
                                a good guard against 0xdeadbeef.)

DM-9    General         T5      Just a question.  Why the hell do we allocate
                                an mblk to store an nce?  Shouldn't we use
                                kmem_alloc or kmem_cache_alloc()?

usr/src/uts/common/inet/ip/ip_ire.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-10   General         T5      I may have answered my own DM-9 question.
                                It has to do with passing-to-ARP STREAMS
                                crud, doesn't it?

DM-11   Line 1994       T3      Huh?  Are these debugging variables?

DM-12   General         T4      Yes or no --> Are you not using radix trees
                                for IPv6?

                                If "no", why not?


usr/src/uts/common/inet/ip/ip.c

------- --------------- ------- -----------------------------------------------
No.     Location        Sev.    Comment
------- --------------- ------- -----------------------------------------------

DM-13   Line 124        T2      You will be ripping out surya_debug before
                                putback, right?

DM-14   ip_rput()       E2      You lost some comments about b_next usage,
                                please return them.

DM-15   23834-23882     T4      Did you manage to tickle this case during
                                your testing?  If so, great.  If not, we
                                should discuss how to tickle this case.

DM-16   "Safety Pup"    E5      Thanks for keeping the comments verbatim.
        code


.  .  .

At this point (Sunday night, 26 March), the files below are still unreviewed

usr/src/common/net/patricia/radix.c
usr/src/pkgdefs/SUNWhea/prototype_com
usr/src/uts/common/Makefile.files
usr/src/uts/common/Makefile.rules
usr/src/uts/common/inet/Makefile
usr/src/uts/common/inet/ip.h
usr/src/uts/common/inet/ip/ip6.c
usr/src/uts/common/inet/ip/ip6_if.c
usr/src/uts/common/inet/ip/ip6_ire.c
usr/src/uts/common/inet/ip/ip_ftable.c
usr/src/uts/common/inet/ip/ip_if.c


But my concerns about IP were all addressed, and most of the IPsec code is in
the local-xmit/receive cases, which you don't touch at all.

I'm a bit concerned Surya doesn't do IPv6 forwarding, but if Surya is
ONNV-only, you can probably get the IPv6 part into an ONNV-update (that's
what we did with IPv6/IKE and S9  -- took us until Update 5).

Dan
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to