Re: [PATCH 117/141] V4L/DVB (3390): Fix module parameters

From: Edgar Toernig
Date: Mon Mar 20 2006 - 14:08:37 EST


Duncan Sands wrote:
>
> > -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.

Ciao, ET.
-
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/