mirror of
https://github.com/openwrt/packages.git
synced 2026-12-04 22:05:48 +04:00
libpfring: fix compilation by removing deprecated patch
Remove 002-Fix-compilation-on-6.18.57.patch as the need for it has been deprecated, thanks to upstream Linux back-and-forth changes. Reference to https://github.com/gregkh/linux/commit/9d275d40b6ece705ba1f10410883b6c374b9e24b (Upstream change in 6.18.57 was reverted in 6.18.60) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
1 parent
d736154a43
commit
e277ccea8c
1 file changed
-20
@@ -1,20 +0,0 @@
|
||||
From 10050952d12b1017ef45c750e19e3474d6900ef9 Mon Sep 17 00:00:00 2001
|
||||
From: Alfredo Cardigliano <cardigliano@ntop.org>
|
||||
Date: Mon, 9 Nov 2026 18:18:13 +0100
|
||||
Subject: [PATCH] Fix compilation on 6.18.57+
|
||||
|
||||
---
|
||||
kernel/pf_ring.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/kernel/pf_ring.c
|
||||
+++ b/kernel/pf_ring.c
|
||||
@@ -5847,7 +5847,7 @@ static int packet_ring_bind(struct sock
|
||||
/* ************************************* */
|
||||
|
||||
/* Bind to a device */
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,19,0)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,18,57) /* sockaddr_unsized introduced in 6.19, backported to 6.18.57 */
|
||||
static int ring_bind(struct socket *sock, struct sockaddr_unsized *sa, int addr_len)
|
||||
#else
|
||||
static int ring_bind(struct socket *sock, struct sockaddr *sa, int addr_len)
|
||||
Reference in new issue
Block a user