Re: [PATCH 117/141] V4L/DVB (3390): Fix module parameters
From: Duncan Sands
Date: Tue Mar 21 2006 - 06:16:20 EST
> > > -module_param(dvb_override_tune_delay, int, 0444);
> > > +module_param(dvb_override_tune_delay, int, 0644);
> >
> > if (dvb_override_tune_delay > 0)
> > fepriv->min_delay = (dvb_override_tune_delay * HZ) / 1000;
> >
> > I guess the value of dvb_override_tune_delay could change from non-zero
> > to zero between testing the condition and setting min_delay.
>
> This is within an ioctl and thus protected by the big kernel lock.
You are right.
Best wishes,
Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/