Unfortunately, wireguard-linux-compat 1.0.20201112-1~18.04.3 still does *not* fix it. The problem is that the fix tries to check /lib/modules/.../skbuff.h which isn't installed during the in-tree build of wireguard DKMS:
+srctree="/lib/modules/$kernelver/build" +if grep -q skb_mark_not_on_list $srctree/include/linux/skbuff.h +then + echo '#define SKB_MARK_NOT_ON_LIST' >> "$1" +fi
The check needs to look for the skb_mark_not_on_list definition in the source tree copy of skbuff.h instead (or in addition to?).
@Thadeu will rework the fix accordingly.
Unfortunately, wireguard- linux-compat 1.0.20201112- 1~18.04. 3 still does *not* fix it. The problem is that the fix tries to check /lib/modules/ .../skbuff. h which isn't installed during the in-tree build of wireguard DKMS:
+srctree= "/lib/modules/ $kernelver/ build" not_on_ list $srctree/ include/ linux/skbuff. h NOT_ON_ LIST' >> "$1"
+if grep -q skb_mark_
+then
+ echo '#define SKB_MARK_
+fi
The check needs to look for the skb_mark_ not_on_ list definition in the source tree copy of skbuff.h instead (or in addition to?).
@Thadeu will rework the fix accordingly.