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

Roger Riggs Roger.Riggs at Oracle.com
Wed Jan 28 17:35:45 UTC 2015


Looks good.

Roger

On 1/28/2015 11:46 AM, Rob McKenna 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