Re: Double lock issue of unp_link_rwlock in usrreq.c observed

2016-06-11 Thread Raviprakash Darbha
Resending the Mail, if anyone has looked at it. Thanks RaviPrakash Darbha rdar...@juniper.net On May 19, 2016, at 2:06 PM, RaviPrakash Darbha mailto:rdar...@juniper.net>> wrote: Hello Andre I encountered a double lock issue in unp_connectat function. After lookin

Re: Double lock issue of unp_link_rwlock in usrreq.c observed

2016-05-19 Thread Steve Kiernan
On Thu, 19 May 2016 17:06:34 -0400 Raviprakash Darbha wrote: > Hello Andre > > I encountered a double lock issue in unp_connectat function. After looking at > the code , I think the unp_link_rwlock is being locked once unp_connectat and > once again in unp_detach (called from sofree ). Would

Double lock issue of unp_link_rwlock in usrreq.c observed

2016-05-19 Thread Raviprakash Darbha
Hello Andre I encountered a double lock issue in unp_connectat function. After looking at the code , I think the unp_link_rwlock is being locked once unp_connectat and once again in unp_detach (called from sofree ). Would like to get your opinion on the issue and the fix. Below is the exact ca