Sean, the following commit

        commit bf2944bd56c7a48cc3962a860dbc4ceee6b1ace8
        Author: Sean Hefty <[EMAIL PROTECTED]>
        Date:   Tue Jun 5 09:57:31 2007 -0700

        RDMA/cma: Fix initialization of next_port

        next_port should be between sysctl_local_port_range[0] and [1].
        However, it is initially set to a random value with get_random_bytes().
        If the value is negative when treated as a signed integer, next_port
        can end up outside the expected range because of the result of the %
        operator being negative.

        Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>
        Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

looks like something we want included in OFED 1.2 is well.
What do you think?

-- 
MST
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to