Comment 10 for bug 1915304

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

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.