Critical section in in6_setsockaddr and in6_setpeeraddr

Blue Susan.Lan at zyxel.com.tw
Tue May 30 02:19:00 PDT 2006


Hi, All:

 In in6_setpeeraddr and in6_setsockaddr in in6_pcb.c, the critical 
section still uses legacy splnet() and splx(). However, the splnet() and 
splx() have been redefined as empty function. Don't we need to rewrite 
the part with  INP_LOCK(inp); .... INP_UNLOCK(inp);?

Best regards,

blue


More information about the freebsd-bugs mailing list