Please cherry-pick 8fbcfeb8a9cc for 4.4.x
Hi Greg,
could you cherry-pick the commit
8fbcfeb8a9cc803464d6c166e7991913711c612c
mac80211_hwsim: Replace bogus hrtimer clockid
for 4.4.x stable? The current 4.4.x triggers BUG_ON() just by loading mac80211_hwsim module. See openSUSE bug#1047651 for details:
https://bugzilla.opensuse.org/show_bug.cgi?id=1047651
The BUG_ON() itself comes from 4.4.21 stable updates, introduced by the commit 4fc2942b6e2d:
hrtimer: Catch illegal clockids
[ Upstream commit 9006a01829a50cfd6bbd4980910ed46e895e93d7 ]
But in the upstream, this commit was reverted once by commit 82e88ff1ea94, then later on, revived (but with WARN() instead of BUG_ON()) by the commit 336a9cde10d6. So, we should also follow that on 4.4.x, too.
I haven't followed the situation on other stable trees. Thomas or Marc should have a better grasp on them, so I leave to them :)
thanks,
Takashi
Greg Kroah-Hartman
maintainerQuoted 17 lines · Takashi Iwai
Hi Greg,
could you cherry-pick the commit
8fbcfeb8a9cc803464d6c166e7991913711c612c
mac80211_hwsim: Replace bogus hrtimer clockidfor 4.4.x stable? The current 4.4.x triggers
BUG_ON()just by loadingmac80211_hwsimmodule. See openSUSE bug#1047651 for details:
https://bugzilla.opensuse.org/show_bug.cgi?id=1047651The
BUG_ON()itself comes from 4.4.21 stable updates, introduced by the commit4fc2942b6e2d:
hrtimer: Catch illegal clockids
[ Upstream commit9006a01829a50cfd6bbd4980910ed46e895e93d7]
Quoted 8 lines
But in the upstream, this commit was reverted once by commit
82e88ff1ea94, then later on, revived (but withWARN()instead ofBUG_ON()) by the commit336a9cde10d6. So, we should also follow that on 4.4.x, too.I haven't followed the situation on other stable trees. Thomas or Marc should have a better grasp on them, so I leave to them :)
I think this should go into 4.9 as well, so I've put it there too.
thanks,
greg k-h