Skip to content

Commit 581b773

Browse files
authored
kernel: enable CONFIG_INET_DIAG_DESTROY (#15465)
Enable inet_diag_destroy in the Azure Linux kernel. This config will allow for proactive tear down of stale UDP connections. It is also commonly used by Cilium.
1 parent 76034c8 commit 581b773

20 files changed

Lines changed: 47 additions & 23 deletions

File tree

SPECS-EXTENDED/kernel-ipe/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ CONFIG_INET_DIAG=m
12201220
CONFIG_INET_TCP_DIAG=m
12211221
CONFIG_INET_UDP_DIAG=m
12221222
# CONFIG_INET_RAW_DIAG is not set
1223-
# CONFIG_INET_DIAG_DESTROY is not set
1223+
CONFIG_INET_DIAG_DESTROY=y
12241224
CONFIG_TCP_CONG_ADVANCED=y
12251225
CONFIG_TCP_CONG_BIC=m
12261226
CONFIG_TCP_CONG_CUBIC=y

SPECS-EXTENDED/kernel-ipe/config_aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ CONFIG_INET_DIAG=m
12311231
CONFIG_INET_TCP_DIAG=m
12321232
CONFIG_INET_UDP_DIAG=m
12331233
# CONFIG_INET_RAW_DIAG is not set
1234-
# CONFIG_INET_DIAG_DESTROY is not set
1234+
CONFIG_INET_DIAG_DESTROY=y
12351235
CONFIG_TCP_CONG_ADVANCED=y
12361236
CONFIG_TCP_CONG_BIC=m
12371237
CONFIG_TCP_CONG_CUBIC=y

SPECS-EXTENDED/kernel-ipe/kernel-ipe.signatures.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"Signatures": {
33
"azurelinux-ca-20230216.pem": "d545401163c75878319f01470455e6bc18a5968e39dd964323225e3fe308849b",
4-
"config": "4cf5c54b020b3af1f8b3af414359e7eba93cad0e505eb967a5d4b82e7e2ed9c9",
5-
"config_aarch64": "13a66179d003e54d944683ec14768e73b0d6cd06a83d703f4b6a7f2b24f34334",
4+
"config": "aa0bcbcfdf1efad62ff548f0da276966f117405d972233580a8c9e3a22a5ae10",
5+
"config_aarch64": "afd473ab5c76245d5e4455b408a981865511a226a87146210cad12edc0c67865",
66
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
77
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",
88
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f",

SPECS-EXTENDED/kernel-ipe/kernel-ipe.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
Summary: Linux Kernel
3434
Name: kernel-ipe
3535
Version: 6.6.119.3
36-
Release: 1%{?dist}
36+
Release: 2%{?dist}
3737
License: GPLv2
3838
Vendor: Microsoft Corporation
3939
Distribution: Azure Linux
@@ -460,6 +460,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
460460
%{_sysconfdir}/bash_completion.d/bpftool
461461

462462
%changelog
463+
* Thu Jan 08 2026 Rachel Menge <rachelmenge@microsoft.com> - 6.6.119.3-2
464+
- Enable CONFIG_INET_DIAG_DESTROY
465+
463466
* Tue Jan 06 2026 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 6.6.119.3-1
464467
- Auto-upgrade to 6.6.119.3
465468

SPECS-SIGNED/kernel-64k-signed/kernel-64k-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Summary: Signed Linux Kernel for %{buildarch} systems
88
Name: kernel-64k-signed-%{buildarch}
99
Version: 6.6.119.3
10-
Release: 1%{?dist}
10+
Release: 2%{?dist}
1111
License: GPLv2
1212
Vendor: Microsoft Corporation
1313
Distribution: Azure Linux
@@ -105,6 +105,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
105105
%exclude /module_info.ld
106106

107107
%changelog
108+
* Thu Jan 08 2026 Rachel Menge <rachelmenge@microsoft.com> - 6.6.119.3-2
109+
- Bump release to match kernel,kernel-ipe,kernel-64k
110+
108111
* Tue Jan 06 2026 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 6.6.119.3-1
109112
- Auto-upgrade to 6.6.119.3
110113

SPECS-SIGNED/kernel-signed/kernel-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: Signed Linux Kernel for %{buildarch} systems
1111
Name: kernel-signed-%{buildarch}
1212
Version: 6.6.119.3
13-
Release: 1%{?dist}
13+
Release: 2%{?dist}
1414
License: GPLv2
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -145,6 +145,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
145145
%exclude /module_info.ld
146146

147147
%changelog
148+
* Thu Jan 08 2026 Rachel Menge <rachelmenge@microsoft.com> - 6.6.119.3-2
149+
- Bump release to match kernel,kernel-ipe,kernel-64k
150+
148151
* Tue Jan 06 2026 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 6.6.119.3-1
149152
- Auto-upgrade to 6.6.119.3
150153

SPECS-SIGNED/kernel-uki-signed/kernel-uki-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: Signed Unified Kernel Image for %{buildarch} systems
77
Name: kernel-uki-signed-%{buildarch}
88
Version: 6.6.119.3
9-
Release: 1%{?dist}
9+
Release: 2%{?dist}
1010
License: GPLv2
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -68,6 +68,9 @@ popd
6868
/boot/efi/EFI/Linux/vmlinuz-uki-%{kernelver}.efi
6969

7070
%changelog
71+
* Thu Jan 08 2026 Rachel Menge <rachelmenge@microsoft.com> - 6.6.119.3-2
72+
- Bump release to match kernel,kernel-ipe,kernel-64k
73+
7174
* Tue Jan 06 2026 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 6.6.119.3-1
7275
- Auto-upgrade to 6.6.119.3
7376

SPECS/kernel-64k/config_aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ CONFIG_INET_DIAG=m
12321232
CONFIG_INET_TCP_DIAG=m
12331233
CONFIG_INET_UDP_DIAG=m
12341234
# CONFIG_INET_RAW_DIAG is not set
1235-
# CONFIG_INET_DIAG_DESTROY is not set
1235+
CONFIG_INET_DIAG_DESTROY=y
12361236
CONFIG_TCP_CONG_ADVANCED=y
12371237
CONFIG_TCP_CONG_BIC=m
12381238
CONFIG_TCP_CONG_CUBIC=y

SPECS/kernel-64k/kernel-64k.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Signatures": {
33
"azurelinux-ca-20230216.pem": "d545401163c75878319f01470455e6bc18a5968e39dd964323225e3fe308849b",
4-
"config_aarch64": "6d2e88673d91554507a822cc3dcba16bb4b40ef068cb20d486769ae64734794a",
4+
"config_aarch64": "ef77f961216e025b10001fa83cbadf4e558a25dce21125715e373b7b2d004277",
55
"cpupower": "d7518767bf2b1110d146a49c7d42e76b803f45eb8bd14d931aa6d0d346fae985",
66
"cpupower.service": "b057fe9e5d0e8c36f485818286b80e3eba8ff66ff44797940e99b1fd5361bb98",
77
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f",

SPECS/kernel-64k/kernel-64k.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
Summary: Linux Kernel
2828
Name: kernel-64k
2929
Version: 6.6.119.3
30-
Release: 1%{?dist}
30+
Release: 2%{?dist}
3131
License: GPLv2
3232
Vendor: Microsoft Corporation
3333
Distribution: Azure Linux
@@ -380,6 +380,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
380380
%{_sysconfdir}/bash_completion.d/bpftool
381381

382382
%changelog
383+
* Thu Jan 08 2026 Rachel Menge <rachelmenge@microsoft.com> - 6.6.119.3-2
384+
- Enable CONFIG_INET_DIAG_DESTROY
385+
383386
* Tue Jan 06 2026 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 6.6.119.3-1
384387
- Auto-upgrade to 6.6.119.3
385388

0 commit comments

Comments
 (0)