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;
>> struct ifreq ifr;
>> + bool need_unlock = false;
>> +
>>
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:
>> src/sys/netinet
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 [netb
> 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 held here */
> +
@@ -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)) {
+