Public bug reported: In upstream stable 4.4.218, the following patch brings back kref_read() which was re-implemented in dahdi-linux code for kernel versions before 4.11:
commit 408f17931f5451702ad638e1d8511e780f6b56e7 Author: Peter Zijlstra <[email protected]> Date: Mon Nov 14 17:29:48 2016 +0100 locking/atomic, kref: Add kref_read() This needs adjustment now in Xenial for kernels including 4.4.218 and later. [SRU Justification] == Impact == Dahdi-dkms fails to build for kernels which include upstream stable version 4.4.218 or later. == Fix == Disable the internal re-implementation of kref_read() for kernels including upstream stable 4.4.218. == Testcase == Running dkms build for various kernel versions (tested with Ubuntu-4.4.0-178 and Ubuntu-4.4.0-179). With -178 building currently succeeds, with -179 it fails. == Risk of Regression == Low, internal implementation which was backported from kernel 4.11 gets replaced by the kernel function. ** Affects: dahdi-linux (Ubuntu) Importance: Medium Assignee: Stefan Bader (smb) Status: In Progress ** Description changed: In upstream stable 4.4.218, the following patch brings back kref_read() which was re-implemented in dahdi-linux code for kernel versions before - 4.11. This needs adjustment now in Xenial for kernels including 4.4.218 - and later. + 4.11: + + commit 408f17931f5451702ad638e1d8511e780f6b56e7 + Author: Peter Zijlstra <[email protected]> + Date: Mon Nov 14 17:29:48 2016 +0100 + + locking/atomic, kref: Add kref_read() + + This needs adjustment now in Xenial for kernels including 4.4.218 and + later. + + [SRU Justification] + + == Impact == + + Dahdi-dkms fails to build for kernels which include upstream stable + version 4.4.218 or later. + + == Fix == + + Disable the internal re-implementation of kref_read() for kernels + including upstream stable 4.4.218. + + == Testcase == + + Running dkms build for various kernel versions (tested with + Ubuntu-4.4.0-178 and Ubuntu-4.4.0-179). With -178 building currently + succeeds, with -179 it fails. + + == Risk of Regression == + + Low, internal implementation which was backported from kernel 4.11 gets + replaced by the kernel function. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878214 Title: [Xenial] dahdi-dkms fails to build after kernel version 4.4.218 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dahdi-linux/+bug/1878214/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
