RFR: 8067680: (sctp) Possible race initializing native IDs

Chris Hegarty chris.hegarty at oracle.com
Wed Jan 28 19:01:14 UTC 2015


Looks good to me, thanks Rob.

-Chris.

On 28 Jan 2015, at 16:46, Rob McKenna <rob.mckenna at oracle.com> wrote:

> This is a fix to a possible race in the current sctp code. In a nutshell the conditional only checks that isaCls is not null. However if isaCls is set by one thread and that thread is interrupted before setting isaCtrID, the interrupting thread will falsely assume that isaCtrID has been set.
> 
> http://cr.openjdk.java.net/~robm/8067680/webrev.01/
> 
>    -Rob
> 



More information about the net-dev mailing list