Public bug reported:

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_not_on_list() to linux v4.14.  This will
cause a wireguard-linux-compat build failure for v4.14-based kernels, as
well as Ubuntu Bionic (v4.15) which takes ports of the 4.14-series patch
sets:

    <<DKMSDIR>>/build/wireguard/1.0.20201112/build/compat/compat.h:830:20: 
error:
        redefinition of 'skb_mark_not_on_list'
        static inline void skb_mark_not_on_list(struct sk_buff *skb)
    In file included from 
<<DKMSDIR>>/build/wireguard/1.0.20201112/build/compat/compat.h:789:0,
    ./include/linux/skbuff.h:1346:20: note: previous definition of 
'skb_mark_not_on_list' was here                                                 
                 
        static inline void skb_mark_not_on_list(struct sk_buff *skb)

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.

** Affects: wireguard-linux-compat (Ubuntu)
     Importance: Undecided
     Assignee: Thadeu Lima de Souza Cascardo (cascardo)
         Status: Triaged

** Affects: wireguard-linux-compat (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Patch added: 
"5440233ac430-net-use-skb_list_del_init-to-remove-from-RX-sublists.patch"
   
https://bugs.launchpad.net/bugs/1915304/+attachment/5462368/+files/5440233ac430-net-use-skb_list_del_init-to-remove-from-RX-sublists.patch

** Changed in: wireguard-linux-compat (Ubuntu)
       Status: New => Triaged

** Changed in: wireguard-linux-compat (Ubuntu)
     Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo)

** Also affects: wireguard-linux-compat (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915304

Title:
  linux-stable v4.14.217 causes skb_mark_not_on_list() build failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireguard-linux-compat/+bug/1915304/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to