Re: CVS commit: src/sys/net

2017-04-05 Thread Ryota Ozaki
On Thu, Apr 6, 2017 at 3:34 AM, Taylor R Campbell wrote: >> Date: Wed, 5 Apr 2017 15:46:38 +0800 (+08) >> From: Paul Goyette >> >> @@ -3385,6 +3428,13 @@ if_mcast_op(ifnet_t *ifp, const unsigned >> { >> int rc; >>

Re: CVS commit: src/sys

2017-04-05 Thread Ryota Ozaki
Sorry I didn't notice this reply... On Fri, Mar 31, 2017 at 10:23 PM, Joerg Sonnenberger wrote: > On Fri, Mar 31, 2017 at 06:49:44AM +, Ryota Ozaki wrote: >> Module Name: src >> Committed By: ozaki-r >> Date: Fri Mar 31 06:49:44 UTC 2017 >> >> Modified Files: >>

Re: CVS commit: [netbsd-7] src

2017-04-05 Thread coypu
On Wed, Apr 05, 2017 at 07:54:27PM +, Soren Jacobsen wrote: > Module Name: src > Committed By: snj > Date: Wed Apr 5 19:54:23 UTC 2017 > > Modified Files: .. > src/sys/external/bsd/common/include/linux [netbsd-7]: kernel.h > src/sys/external/bsd/drm2/dist/drm/radeon

Re: CVS commit: src/sys/net

2017-04-05 Thread Taylor R Campbell
> Date: Wed, 5 Apr 2017 15:46:38 +0800 (+08) > From: Paul Goyette > > @@ -3385,6 +3428,13 @@ if_mcast_op(ifnet_t *ifp, const unsigned > { > int rc; > struct ifreq ifr; > + bool need_unlock = false; > + > + /* XXX if_ioctl_lock may or may not be

Re: CVS commit: src/sys/net

2017-04-05 Thread Paul Goyette
@@ -3385,6 +3428,13 @@ if_mcast_op(ifnet_t *ifp, const unsigned { int rc; struct ifreq ifr; + bool need_unlock = false; + + /* XXX if_ioctl_lock may or may not be held here */ + if (ifp->if_ioctl_lock != NULL && !mutex_owned(ifp->if_ioctl_lock)) { +