Skip to content

Commit 405f955

Browse files
committed
kernel: bump 6.18 to 6.18.36
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.18.36 Removed upstreamed: airoha/patches-6.18/162-v7.2-net-airoha-Fix-use-after-free-in-metadata-dst-teardo.patch[1] airoha/patches-6.18/164-v7.2-net-airoha-Add-NULL-check-for-of_reserved_mem_lookup.patch[2] All other patches automatically rebased via update_kernel.sh A new option was introduced with this release[3]. Updated configs on affected targets: armsr/armv8 and rockchip/armv8. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.36&id=6f829e2c17a53a35321268339cd252aff6d6d723 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.36&id=01f7d4b504580664d36faea5671cde5e3f0d8a5b 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v6.18.36&id2=v6.18.35 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me> Link: #23887 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
1 parent 6b8b39a commit 405f955

27 files changed

Lines changed: 75 additions & 77 deletions

include/kernel-6.18

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-6.18 = .35
2-
LINUX_KERNEL_HASH-6.18.35 = f78602932219125e211c5f5bfd84edcfd4ec5ce88fc944f8248413f665bef236
1+
LINUX_VERSION-6.18 = .38
2+
LINUX_KERNEL_HASH-6.18.38 = ac26e508abd56e9f8b89872b6e10c49fc823bcc70d8068a5d8504c1a7c4ff045

target/linux/generic/backport-6.18/746-v7.1-r8152-Add-support-for-5Gbit-Link-Speeds-and-EEE.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
221221
eee->eee_enabled = tp->eee_en;
222222

223223
if (speed & _1000bps)
224-
@@ -9381,6 +9440,11 @@ static int rtl8152_probe_once(struct usb
224+
@@ -9386,6 +9445,11 @@ static int rtl8152_probe_once(struct usb
225225
} else {
226226
tp->speed = SPEED_1000;
227227
}

target/linux/generic/backport-6.18/747-v7.1-r8152-Add-support-for-the-RTL8157-hardware.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,15 +1535,15 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
15351535
default:
15361536
version = RTL_VER_UNKNOWN;
15371537
dev_info(&udev->dev, "Unknown version 0x%04x\n", ocp_data);
1538-
@@ -9411,6 +9954,7 @@ static int rtl8152_probe_once(struct usb
1538+
@@ -9416,6 +9959,7 @@ static int rtl8152_probe_once(struct usb
15391539
case RTL_VER_12:
15401540
case RTL_VER_13:
15411541
case RTL_VER_15:
15421542
+ case RTL_VER_16:
15431543
netdev->max_mtu = size_to_mtu(16 * 1024);
15441544
break;
15451545
case RTL_VER_01:
1546-
@@ -9571,6 +10115,7 @@ static const struct usb_device_id rtl815
1546+
@@ -9576,6 +10120,7 @@ static const struct usb_device_id rtl815
15471547
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x8153) },
15481548
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x8155) },
15491549
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x8156) },

target/linux/generic/hack-6.18/650-netfilter-add-xt_FLOWOFFLOAD-target.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
768768
void (*iter)(struct nf_flowtable *flowtable,
769769
struct flow_offload *flow, void *data),
770770
void *data)
771-
@@ -582,6 +580,7 @@ static void nf_flow_offload_gc_step(stru
771+
@@ -587,6 +585,7 @@ static void nf_flow_offload_gc_step(stru
772772
nf_flow_offload_stats(flow_table, flow);
773773
}
774774
}

target/linux/generic/hack-6.18/721-net-add-packet-mangeling.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
9797
help
9898
--- a/net/core/dev.c
9999
+++ b/net/core/dev.c
100-
@@ -3870,6 +3870,11 @@ static int xmit_one(struct sk_buff *skb,
100+
@@ -3871,6 +3871,11 @@ static int xmit_one(struct sk_buff *skb,
101101
if (dev_nit_active_rcu(dev))
102102
dev_queue_xmit_nit(skb, dev);
103103

target/linux/generic/hack-6.18/780-usb-net-MeigLink_modem_support.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Subject: [PATCH] net/usb/qmi_wwan: add MeigLink modem support
3232
{QMI_FIXED_INTF(0x0408, 0xea42, 4)}, /* Yota / Megafon M100-1 */
3333
--- a/drivers/usb/serial/option.c
3434
+++ b/drivers/usb/serial/option.c
35-
@@ -247,6 +247,11 @@ static void option_instat_callback(struc
35+
@@ -248,6 +248,11 @@ static void option_instat_callback(struc
3636
#define UBLOX_PRODUCT_R410M 0x90b2
3737
/* These Yuga products use Qualcomm's vendor ID */
3838
#define YUGA_PRODUCT_CLM920_NC5 0x9625
@@ -44,7 +44,7 @@ Subject: [PATCH] net/usb/qmi_wwan: add MeigLink modem support
4444

4545
#define QUECTEL_VENDOR_ID 0x2c7c
4646
/* These Quectel products use Quectel's vendor ID */
47-
@@ -1156,6 +1161,11 @@ static const struct usb_device_id option
47+
@@ -1159,6 +1164,11 @@ static const struct usb_device_id option
4848
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
4949
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000), /* SIMCom SIM5218 */
5050
.driver_info = NCTRL(0) | NCTRL(1) | NCTRL(2) | NCTRL(3) | RSVD(4) },
@@ -56,7 +56,7 @@ Subject: [PATCH] net/usb/qmi_wwan: add MeigLink modem support
5656
/* Quectel products using Qualcomm vendor ID */
5757
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC15)},
5858
{ USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC20),
59-
@@ -1197,6 +1207,11 @@ static const struct usb_device_id option
59+
@@ -1200,6 +1210,11 @@ static const struct usb_device_id option
6060
.driver_info = ZLP },
6161
{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
6262
.driver_info = RSVD(4) },

target/linux/generic/hack-6.18/901-debloat_sock_diag.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
8383
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
8484
u32));
8585
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
86-
@@ -2406,9 +2423,11 @@ static void __sk_free(struct sock *sk)
86+
@@ -2411,9 +2428,11 @@ static void __sk_free(struct sock *sk)
8787
if (likely(sk->sk_net_refcnt))
8888
sock_inuse_add(sock_net(sk), -1);
8989

target/linux/generic/hack-6.18/902-debloat_proc.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
331331

332332
--- a/net/core/sock.c
333333
+++ b/net/core/sock.c
334-
@@ -4349,6 +4349,8 @@ static __net_initdata struct pernet_oper
334+
@@ -4358,6 +4358,8 @@ static __net_initdata struct pernet_oper
335335

336336
static int __init proto_init(void)
337337
{

target/linux/generic/hack-6.18/932-usb-net-for-td-mt5700.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/drivers/usb/serial/option.c
22
+++ b/drivers/usb/serial/option.c
3-
@@ -627,6 +627,9 @@ static void option_instat_callback(struc
3+
@@ -628,6 +628,9 @@ static void option_instat_callback(struc
44
/* Luat Air72*U series based on UNISOC UIS8910 uses UNISOC's vendor ID */
55
#define LUAT_PRODUCT_AIR720U 0x4e00
66

@@ -10,7 +10,7 @@
1010
/* Device flags */
1111

1212
/* Highest interface number which can be used with NCTRL() and RSVD() */
13-
@@ -2543,6 +2546,12 @@ static const struct usb_device_id option
13+
@@ -2546,6 +2549,12 @@ static const struct usb_device_id option
1414
{ USB_DEVICE_INTERFACE_CLASS(0x1bbb, 0x0640, 0xff), /* TCL IK512 ECM */
1515
.driver_info = NCTRL(3) },
1616
{ USB_DEVICE_INTERFACE_CLASS(0x2949, 0x8700, 0xff) }, /* Neoway N723-EA */

target/linux/generic/hack-6.18/953-net-patch-linux-kernel-to-support-shortcut-fe.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
struct net_bridge_port *p;
7979
--- a/net/core/dev.c
8080
+++ b/net/core/dev.c
81-
@@ -3866,9 +3866,17 @@ static int xmit_one(struct sk_buff *skb,
81+
@@ -3867,9 +3867,17 @@ static int xmit_one(struct sk_buff *skb,
8282
{
8383
unsigned int len;
8484
int rc;
@@ -97,7 +97,7 @@
9797

9898
#ifdef CONFIG_ETHERNET_PACKET_MANGLE
9999
if (dev->eth_mangle_tx && !(skb = dev->eth_mangle_tx(dev, skb)))
100-
@@ -5852,6 +5860,11 @@ void netdev_rx_handler_unregister(struct
100+
@@ -5853,6 +5861,11 @@ void netdev_rx_handler_unregister(struct
101101
}
102102
EXPORT_SYMBOL_GPL(netdev_rx_handler_unregister);
103103

@@ -109,7 +109,7 @@
109109
/*
110110
* Limit the use of PFMEMALLOC reserves to those protocols that implement
111111
* the special handling of PFMEMALLOC skbs.
112-
@@ -5901,6 +5914,10 @@ static int __netif_receive_skb_core(stru
112+
@@ -5902,6 +5915,10 @@ static int __netif_receive_skb_core(stru
113113
int ret = NET_RX_DROP;
114114
__be16 type;
115115

@@ -120,7 +120,7 @@
120120
net_timestamp_check(!READ_ONCE(net_hotdata.tstamp_prequeue), skb);
121121

122122
trace_netif_receive_skb(skb);
123-
@@ -5945,6 +5962,15 @@ another_round:
123+
@@ -5946,6 +5963,15 @@ another_round:
124124
goto out;
125125
}
126126

0 commit comments

Comments
 (0)