[packages/kernel/LINUX_4_9] - 4.9.302
baggins
baggins at pld-linux.org
Wed Feb 16 22:04:55 CET 2022
commit 70a4ed8f429a1e7aeef9d2172ff218c0f9deb784
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 16 22:04:36 2022 +0100
- 4.9.302
kernel-multiarch.config | 1 +
kernel-vserver-2.3.patch | 3 ++-
kernel.spec | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 9e8c050d..1364c724 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -73,7 +73,7 @@
%define rel 1
%define basever 4.9
-%define postver .299
+%define postver .302
# define this to '-%{basever}' for longterm branch
%define versuffix -%{basever}
@@ -125,7 +125,7 @@ Source0: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
# Source0-md5: 0a68ef3615c64bd5ee54a3320e46667d
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz
-# Patch0-md5: bcb6bf56e94dc38866865fdd610895a4
+# Patch0-md5: 167dbca71dc364d3cac2e552fac4cb44
%endif
Source1: kernel.sysconfig
diff --git a/kernel-multiarch.config b/kernel-multiarch.config
index b5a1725a..62a32134 100644
--- a/kernel-multiarch.config
+++ b/kernel-multiarch.config
@@ -9359,6 +9359,7 @@ TIMERFD all=y
EVENTFD all=y
BPF_SYSCALL all=y
BPF_JIT_ALWAYS_ON all=y
+BPF_UNPRIV_DEFAULT_OFF all=y
SHMEM all=y
AIO all=y
USERFAULTFD all=y
diff --git a/kernel-vserver-2.3.patch b/kernel-vserver-2.3.patch
index 559a6938..f24eee71 100644
--- a/kernel-vserver-2.3.patch
+++ b/kernel-vserver-2.3.patch
@@ -23700,7 +23700,7 @@ diff -urNp -x '*.orig' linux-4.9/net/ipv4/raw.c linux-4.9/net/ipv4/raw.c
security_sk_classify_flow(sk, flowi4_to_flowi(&fl4));
rt = ip_route_output_flow(net, &fl4, sk);
if (IS_ERR(rt)) {
-@@ -703,17 +719,19 @@ static int raw_bind(struct sock *sk, str
+@@ -703,18 +719,20 @@ static int raw_bind(struct sock *sk, str
{
struct inet_sock *inet = inet_sk(sk);
struct sockaddr_in *addr = (struct sockaddr_in *) uaddr;
@@ -23708,6 +23708,7 @@ diff -urNp -x '*.orig' linux-4.9/net/ipv4/raw.c linux-4.9/net/ipv4/raw.c
int ret = -EINVAL;
int chk_addr_ret;
+ lock_sock(sk);
if (sk->sk_state != TCP_CLOSE || addr_len < sizeof(struct sockaddr_in))
goto out;
- chk_addr_ret = inet_addr_type(sock_net(sk), addr->sin_addr.s_addr);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/70a4ed8f429a1e7aeef9d2172ff218c0f9deb784
More information about the pld-cvs-commit
mailing list