Fix build with the latest kernels
This commit is contained in:
parent
46a408102a
commit
9802d8ce77
24
20695.patch
Normal file
24
20695.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 67cd626399b0d02882ee00716c8bd31ba764c862 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chris Packham <chris.packham@alliedtelesis.co.nz>
|
||||||
|
Date: Fri, 10 Sep 2021 09:51:36 +1200
|
||||||
|
Subject: [PATCH] basic/linux: Sync if_arp.h with Linux 5.14
|
||||||
|
|
||||||
|
ARPHRD_MCTP was added in 5.14. Sync if_arp.h to pick up the definition
|
||||||
|
|
||||||
|
Fixes #20694
|
||||||
|
---
|
||||||
|
src/basic/linux/if_arp.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/basic/linux/if_arp.h b/src/basic/linux/if_arp.h
|
||||||
|
index c3cc5a9e5eaf..4783af9fe520 100644
|
||||||
|
--- a/src/basic/linux/if_arp.h
|
||||||
|
+++ b/src/basic/linux/if_arp.h
|
||||||
|
@@ -54,6 +54,7 @@
|
||||||
|
#define ARPHRD_X25 271 /* CCITT X.25 */
|
||||||
|
#define ARPHRD_HWX25 272 /* Boards with X.25 in firmware */
|
||||||
|
#define ARPHRD_CAN 280 /* Controller Area Network */
|
||||||
|
+#define ARPHRD_MCTP 290
|
||||||
|
#define ARPHRD_PPP 512
|
||||||
|
#define ARPHRD_CISCO 513 /* Cisco HDLC */
|
||||||
|
#define ARPHRD_HDLC ARPHRD_CISCO
|
@ -97,6 +97,7 @@ Patch0003: 0003-rpm-call-needs-restart-in-parallel.patch
|
|||||||
Patch0004: 0004-rpm-restart-user-services-at-the-end-of-the-transact.patch
|
Patch0004: 0004-rpm-restart-user-services-at-the-end-of-the-transact.patch
|
||||||
Patch0005: 0005-update-helper-also-add-user-reexec-verb.patch
|
Patch0005: 0005-update-helper-also-add-user-reexec-verb.patch
|
||||||
|
|
||||||
|
Patch0006: https://github.com/systemd/systemd/pull/20695.patch
|
||||||
|
|
||||||
# Downstream-only patches (5000–9999)
|
# Downstream-only patches (5000–9999)
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1738828
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1738828
|
||||||
|
Loading…
Reference in New Issue
Block a user