linux-stable v4.14.217 causes skb_mark_not_on_list() build failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wireguard-linux-compat (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Confirmed
|
Medium
|
Thadeu Lima de Souza Cascardo |
Bug Description
[Impact]
wireguard-dkms won't build on bionic 4.15 kernels with upstream commit 5440233ac430 ("net: use skb_list_del_init() to remove from RX sublists") applied.
[Fix]
Detect whether skb_mark_
[Test case]
Build the dkms module against a 4.15 and 5.4 kernel, as the 5.4 kernel has the commit.
[Regression potential]
wireguard-dkms could stop building for some kernel versions.
-------
The upstream linux-stable release v4.14.217 contains the following commit (also attached here):
5440233ac430 net: use skb_list_del_init() to remove from RX sublists
... which introduces skb_mark_
<<DKMSDIR>
static inline void skb_mark_
In file included from <<DKMSDIR>
./include/
static inline void skb_mark_
For Bionic, the situation is complicated since Bionic's v4.15 KERNEL_VERSION 'SUBLEVEL' does not encode the SUBLEVEL number (217) from the 4.14 series, so a simple switch on SUBLEVEL will not be sufficient for Bionic.
We're holding out the port of the noted stable commit from Bionic, pending resolution of this.
Changed in wireguard-linux-compat (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in wireguard-linux-compat (Ubuntu): | |
importance: | Undecided → Medium |
Changed in wireguard-linux-compat (Ubuntu Bionic): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in wireguard-linux-compat (Ubuntu): | |
status: | Confirmed → Fix Released |
assignee: | Thadeu Lima de Souza Cascardo (cascardo) → nobody |
This was fixed in the latest upstream wireguard- linux-compat release on Jan 24.