Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH] compat: skb_mark_not_on_list will be backported to Ubuntu 18.04
@ 2021-02-18 17:01 Thadeu Lima de Souza Cascardo
  2021-02-18 19:30 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2021-02-18 17:01 UTC (permalink / raw)
  To: wireguard; +Cc: Thadeu Lima de Souza Cascardo

linux commit 22f6bbb7bcfcef0b373b0502a7ff390275c575dd ("net: use
skb_list_del_init() to remove from RX sublists") will be backported to Ubuntu
18.04 default kernel, which is based on linux 4.15.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
---
 src/compat/compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compat/compat.h b/src/compat/compat.h
index c1b77d99e817..78e942dec084 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -823,7 +823,7 @@ static __always_inline void old_rcu_barrier(void)
 #define COMPAT_CANNOT_DEPRECIATE_BH_RCU
 #endif
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) && !defined(ISRHEL8)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 217)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) && !defined(ISRHEL8) && !defined(ISUBUNTU1804)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 217)
 static inline void skb_mark_not_on_list(struct sk_buff *skb)
 {
 	skb->next = NULL;
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] compat: skb_mark_not_on_list will be backported to Ubuntu 18.04
  2021-02-18 17:01 [PATCH] compat: skb_mark_not_on_list will be backported to Ubuntu 18.04 Thadeu Lima de Souza Cascardo
@ 2021-02-18 19:30 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2021-02-18 19:30 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo; +Cc: wireguard

On Thu, Feb 18, 2021 at 02:01:32PM -0300, Thadeu Lima de Souza Cascardo wrote:
> linux commit 22f6bbb7bcfcef0b373b0502a7ff390275c575dd ("net: use
> skb_list_del_init() to remove from RX sublists") will be backported to Ubuntu
> 18.04 default kernel, which is based on linux 4.15.

Applied. Thanks for the patch.

https://git.zx2c4.com/wireguard-linux-compat/commit/?id=cad80597c7947f0def83caf8cb56aff0149c83a8

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-18 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 17:01 [PATCH] compat: skb_mark_not_on_list will be backported to Ubuntu 18.04 Thadeu Lima de Souza Cascardo
2021-02-18 19:30 ` Jason A. Donenfeld

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git