Re: [PATCH] Avoid null-pointer access in w1/slaves/w1_therm

From: Evgeniy Polyakov
Date: Sat Mar 14 2015 - 17:03:36 EST

Hi David

12.03.2015, 03:54, "David Fries" <david@xxxxxxxxx>:
> Would that be removing all four refcnt, w1_slave, w1_master,
> w1_family, w1_cb_block, or just some of them?  It sounds good to me,
> if that had bugs there would be much more than just the w1 system
> relying on it.  I don't know enough about that system or have the time
> to code up that change.
> I can take another look at and post the reference counting w1_therm
> fix instead of the mutex version as a near term work around until that
> is available if you want.

Please cook up a quick fix for this problem - this bug really hurts people.
And then we will discuss how 'ideal' life cycle should look
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at