Skip to content

Commit fde8fc6

Browse files
authored
Merge pull request #1226 from c-po/kernel-patch-update
Kernel: T9010: update existing patches to remove "hunk off" notices
2 parents 0e7145f + c6479a4 commit fde8fc6

2 files changed

Lines changed: 20 additions & 9 deletions

File tree

scripts/package-build/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Refreshed against Linux 6.18.x:
2727
8 files changed, 34 insertions(+)
2828

2929
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
30+
index 7a637e87005f..982c76d0b0ab 100644
3031
--- a/Documentation/networking/ip-sysctl.rst
3132
+++ b/Documentation/networking/ip-sysctl.rst
3233
@@ -2042,6 +2042,17 @@ src_valid_mark - BOOLEAN
@@ -48,6 +49,7 @@ diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/i
4849
- 1 - Allows you to have multiple network interfaces on the same
4950
subnet, and have the ARPs for each interface be answered
5051
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
52+
index dccbeb25f701..b16f70e491d6 100644
5153
--- a/include/linux/inetdevice.h
5254
+++ b/include/linux/inetdevice.h
5355
@@ -139,6 +139,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev)
@@ -59,6 +61,7 @@ diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
5961
struct in_ifaddr {
6062
struct hlist_node addr_lst;
6163
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
64+
index 7294e4e89b79..5243afbd98b8 100644
6265
--- a/include/linux/ipv6.h
6366
+++ b/include/linux/ipv6.h
6467
@@ -91,6 +91,7 @@ struct ipv6_devconf {
@@ -70,6 +73,7 @@ diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
7073
struct ctl_table_header *sysctl_header;
7174
};
7275
diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h
76+
index 5bd7ce934d74..cfe694a9810f 100644
7377
--- a/include/uapi/linux/ip.h
7478
+++ b/include/uapi/linux/ip.h
7579
@@ -189,6 +189,7 @@ enum
@@ -81,6 +85,7 @@ diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h
8185
};
8286

8387
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
88+
index d4d3ae774b26..8495f1b69a64 100644
8489
--- a/include/uapi/linux/ipv6.h
8590
+++ b/include/uapi/linux/ipv6.h
8691
@@ -200,6 +200,7 @@ enum {
@@ -92,6 +97,7 @@ diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
9297
};
9398

9499
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
100+
index 942a887bf089..e6df2bfc4e40 100644
95101
--- a/net/ipv4/devinet.c
96102
+++ b/net/ipv4/devinet.c
97103
@@ -2652,6 +2652,7 @@ static struct devinet_sysctl_table {
@@ -103,17 +109,18 @@ diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
103109
};
104110

105111
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
112+
index b2e1328371d3..769d4e1f5cbf 100644
106113
--- a/net/ipv6/addrconf.c
107114
+++ b/net/ipv6/addrconf.c
108-
@@ -5716,6 +5716,7 @@ static void ipv6_store_devconf(const struct ipv6_devconf *cnf,
115+
@@ -5718,6 +5718,7 @@ static void ipv6_store_devconf(const struct ipv6_devconf *cnf,
109116
READ_ONCE(cnf->accept_untracked_na);
110117
array[DEVCONF_ACCEPT_RA_MIN_LFT] = READ_ONCE(cnf->accept_ra_min_lft);
111118
array[DEVCONF_FORCE_FORWARDING] = READ_ONCE(cnf->force_forwarding);
112119
+ array[DEVCONF_LINK_FILTER] = READ_ONCE(cnf->link_filter);
113120
}
114121

115122
static inline size_t inet6_ifla6_size(void)
116-
@@ -7251,6 +7252,13 @@ static const struct ctl_table addrconf_sysctl[] = {
123+
@@ -7253,6 +7254,13 @@ static const struct ctl_table addrconf_sysctl[] = {
117124
.extra1 = (void *)SYSCTL_ZERO,
118125
.extra2 = (void *)SYSCTL_ONE,
119126
},
@@ -128,9 +135,10 @@ diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
128135
.procname = "ioam6_id",
129136
.data = &ipv6_devconf.ioam6_id,
130137
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
138+
index f89220929c4e..8f92ef14d884 100644
131139
--- a/net/ipv6/route.c
132140
+++ b/net/ipv6/route.c
133-
@@ -714,6 +714,14 @@ static inline void rt6_probe(struct fib6_nh *fib6_nh)
141+
@@ -717,6 +717,14 @@ static inline void rt6_probe(struct fib6_nh *fib6_nh)
134142
}
135143
#endif
136144

@@ -145,7 +153,7 @@ diff --git a/net/ipv6/route.c b/net/ipv6/route.c
145153
/*
146154
* Default Router Selection (RFC 2461 6.3.6)
147155
*/
148-
@@ -755,6 +763,8 @@ static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif,
156+
@@ -758,6 +766,8 @@ static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif,
149157

150158
if (!m && (strict & RT6_LOOKUP_F_IFACE))
151159
return RT6_NUD_FAIL_HARD;

scripts/package-build/linux-kernel/patches/kernel/0003-build-linux-perf-package.patch renamed to scripts/package-build/linux-kernel/patches/kernel/0002-build-linux-perf-package.patch

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ iterated over every package); since v6.7 the package build is driven
2020
per-package from debian/rules, so we have to extend that mechanism
2121
instead.
2222
---
23-
scripts/package/builddeb | 16 ++++++++++++++++
24-
scripts/package/debian/rules | 3 ++-
25-
scripts/package/mkdebian | 12 ++++++++++++
23+
scripts/package/builddeb | 16 ++++++++++++++++
24+
scripts/package/debian/rules | 3 ++-
25+
scripts/package/mkdebian | 12 ++++++++++++
2626
3 files changed, 30 insertions(+), 1 deletion(-)
2727

2828
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
29+
index ba1defc61652..61e5d3b8447d 100755
2930
--- a/scripts/package/builddeb
3031
+++ b/scripts/package/builddeb
31-
@@ -156,6 +156,20 @@ install_libc_headers () {
32+
@@ -162,6 +162,20 @@ install_libc_headers () {
3233
mv "$pdir/usr/include/asm" "$pdir/usr/include/${DEB_HOST_MULTIARCH}"
3334
}
3435

@@ -49,14 +50,15 @@ diff --git a/scripts/package/builddeb b/scripts/package/builddeb
4950
package=$1
5051

5152
case "${package}" in
52-
@@ -167,4 +181,6 @@ linux-libc-dev)
53+
@@ -173,4 +187,6 @@ linux-libc-dev)
5354
install_libc_headers "${package}";;
5455
linux-headers-*)
5556
install_kernel_headers "${package}";;
5657
+linux-perf-*)
5758
+ install_perf "${package}";;
5859
esac
5960
diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules
61+
index a417a7f8bbc1..3b6905034b4c 100755
6062
--- a/scripts/package/debian/rules
6163
+++ b/scripts/package/debian/rules
6264
@@ -27,13 +27,14 @@ make-opts = ARCH=$(ARCH) KERNELRELEASE=$(KERNELRELEASE) \
@@ -76,6 +78,7 @@ diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules
7678
mk-files = $(patsubst binary-%,debian/%.files,$1)
7779
package = $($(@:binary-%=%-package))
7880
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
81+
index d4b007b38a47..45a5f06b803d 100755
7982
--- a/scripts/package/mkdebian
8083
+++ b/scripts/package/mkdebian
8184
@@ -247,6 +247,18 @@ Description: Linux kernel headers for ${KERNELRELEASE} on $debarch

0 commit comments

Comments
 (0)