Problem with getFlags() method in NetworkInterface.c (original) (raw)

Shirish Kuncolienkar shirishk at linux.vnet.ibm.com
Thu Aug 9 03:16:58 PDT 2012


Hi,

The return value from the getFlags() method in NetworkInterface.c is interpreted in 2 ways.

In rare cases is it possible the value in the ifr_flags could be negative. One such case is VIPA interfaces. any calls like isUp() on such network interfaces would end up in a Socket Exception. I have patch for this. Anyone would like to take a look ?

http://cr.openjdk.java.net/~luchsh/webrev20120809/

-Shirish



More information about the net-dev mailing list