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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux