mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: bump 5.19 to 5.19.5
This commit is contained in:
parent
d63a4cb792
commit
1d2998c2ae
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-5.19 = .4
|
LINUX_VERSION-5.19 = .5
|
||||||
LINUX_KERNEL_HASH-5.19.4 = a9214b97085af98dfcaaa8c2e8eff4858c1d53dccd6c58931cf7b0455ff9bf87
|
LINUX_KERNEL_HASH-5.19.5 = 8c3f1cc4f93e50056bb0a8c15a41a8eb6acc7fd71bff6de60b1ef8c4532537bd
|
||||||
|
@ -22,7 +22,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
|
|
||||||
--- a/include/net/netfilter/nf_conntrack_ecache.h
|
--- a/include/net/netfilter/nf_conntrack_ecache.h
|
||||||
+++ b/include/net/netfilter/nf_conntrack_ecache.h
|
+++ b/include/net/netfilter/nf_conntrack_ecache.h
|
||||||
@@ -65,9 +65,14 @@
|
@@ -65,9 +65,14 @@ struct nf_ct_event_notifier {
|
||||||
int (*exp_event)(unsigned int events, const struct nf_exp_event *item);
|
int (*exp_event)(unsigned int events, const struct nf_exp_event *item);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
|
|
||||||
void nf_ct_deliver_cached_events(struct nf_conn *ct);
|
void nf_ct_deliver_cached_events(struct nf_conn *ct);
|
||||||
int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct,
|
int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct,
|
||||||
@@ -98,11 +103,13 @@
|
@@ -98,11 +103,13 @@ static inline void
|
||||||
nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct)
|
nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
||||||
@ -53,7 +53,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
|
|
||||||
e = nf_ct_ecache_find(ct);
|
e = nf_ct_ecache_find(ct);
|
||||||
if (e == NULL)
|
if (e == NULL)
|
||||||
@@ -117,20 +124,34 @@
|
@@ -117,20 +124,34 @@ nf_conntrack_event_report(enum ip_conntr
|
||||||
u32 portid, int report)
|
u32 portid, int report)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
||||||
@ -94,9 +94,9 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
||||||
--- a/include/net/netns/conntrack.h
|
--- a/include/net/netns/conntrack.h
|
||||||
+++ b/include/net/netns/conntrack.h
|
+++ b/include/net/netns/conntrack.h
|
||||||
@@ -113,6 +113,9 @@ struct netns_ct {
|
@@ -107,6 +107,9 @@ struct netns_ct {
|
||||||
|
u8 sysctl_checksum;
|
||||||
|
|
||||||
struct ct_pcpu __percpu *pcpu_lists;
|
|
||||||
struct ip_conntrack_stat __percpu *stat;
|
struct ip_conntrack_stat __percpu *stat;
|
||||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||||
+ struct atomic_notifier_head nf_conntrack_chain;
|
+ struct atomic_notifier_head nf_conntrack_chain;
|
||||||
@ -106,7 +106,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
#if defined(CONFIG_NF_CONNTRACK_LABELS)
|
#if defined(CONFIG_NF_CONNTRACK_LABELS)
|
||||||
--- a/net/netfilter/Kconfig
|
--- a/net/netfilter/Kconfig
|
||||||
+++ b/net/netfilter/Kconfig
|
+++ b/net/netfilter/Kconfig
|
||||||
@@ -151,6 +151,14 @@ config NF_CONNTRACK_EVENTS
|
@@ -162,6 +162,14 @@ config NF_CONNTRACK_EVENTS
|
||||||
|
|
||||||
If unsure, say `N'.
|
If unsure, say `N'.
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
depends on NETFILTER_ADVANCED
|
depends on NETFILTER_ADVANCED
|
||||||
--- a/net/netfilter/nf_conntrack_core.c
|
--- a/net/netfilter/nf_conntrack_core.c
|
||||||
+++ b/net/netfilter/nf_conntrack_core.c
|
+++ b/net/netfilter/nf_conntrack_core.c
|
||||||
@@ -2878,6 +2878,10 @@ int nf_conntrack_init_net(struct net *ne
|
@@ -2802,6 +2802,10 @@ int nf_conntrack_init_net(struct net *ne
|
||||||
nf_conntrack_helper_pernet_init(net);
|
nf_conntrack_helper_pernet_init(net);
|
||||||
nf_conntrack_proto_pernet_init(net);
|
nf_conntrack_proto_pernet_init(net);
|
||||||
|
|
||||||
@ -136,9 +136,9 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
err_expect:
|
err_expect:
|
||||||
--- a/net/netfilter/nf_conntrack_ecache.c
|
--- a/net/netfilter/nf_conntrack_ecache.c
|
||||||
+++ b/net/netfilter/nf_conntrack_ecache.c
|
+++ b/net/netfilter/nf_conntrack_ecache.c
|
||||||
@@ -18,6 +18,9 @@
|
@@ -17,6 +17,9 @@
|
||||||
|
#include <linux/stddef.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
#include <linux/percpu.h>
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
|
||||||
+#include <linux/notifier.h>
|
+#include <linux/notifier.h>
|
||||||
@ -146,7 +146,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/export.h>
|
#include <linux/export.h>
|
||||||
@@ -167,6 +170,35 @@ static int __nf_conntrack_eventmask_repo
|
@@ -162,6 +165,35 @@ static int __nf_conntrack_eventmask_repo
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
int nf_conntrack_eventmask_report(unsigned int events, struct nf_conn *ct,
|
int nf_conntrack_eventmask_report(unsigned int events, struct nf_conn *ct,
|
||||||
u32 portid, int report)
|
u32 portid, int report)
|
||||||
{
|
{
|
||||||
@@ -203,10 +235,52 @@ int nf_conntrack_eventmask_report(unsign
|
@@ -197,10 +229,52 @@ int nf_conntrack_eventmask_report(unsign
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -235,7 +235,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
void nf_ct_deliver_cached_events(struct nf_conn *ct)
|
void nf_ct_deliver_cached_events(struct nf_conn *ct)
|
||||||
{
|
{
|
||||||
struct nf_conntrack_ecache *e;
|
struct nf_conntrack_ecache *e;
|
||||||
@@ -232,6 +306,7 @@ void nf_ct_deliver_cached_events(struct
|
@@ -226,6 +300,7 @@ void nf_ct_deliver_cached_events(struct
|
||||||
*/
|
*/
|
||||||
__nf_conntrack_eventmask_report(e, events, e->missed, &item);
|
__nf_conntrack_eventmask_report(e, events, e->missed, &item);
|
||||||
}
|
}
|
||||||
@ -243,7 +243,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
EXPORT_SYMBOL_GPL(nf_ct_deliver_cached_events);
|
EXPORT_SYMBOL_GPL(nf_ct_deliver_cached_events);
|
||||||
|
|
||||||
void nf_ct_expect_event_report(enum ip_conntrack_expect_events event,
|
void nf_ct_expect_event_report(enum ip_conntrack_expect_events event,
|
||||||
@@ -264,20 +339,43 @@ out_unlock:
|
@@ -258,20 +333,43 @@ out_unlock:
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -289,7 +289,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
void nf_conntrack_unregister_notifier(struct net *net)
|
void nf_conntrack_unregister_notifier(struct net *net)
|
||||||
{
|
{
|
||||||
mutex_lock(&nf_ct_ecache_mutex);
|
mutex_lock(&nf_ct_ecache_mutex);
|
||||||
@@ -285,6 +383,7 @@ void nf_conntrack_unregister_notifier(st
|
@@ -279,6 +377,7 @@ void nf_conntrack_unregister_notifier(st
|
||||||
mutex_unlock(&nf_ct_ecache_mutex);
|
mutex_unlock(&nf_ct_ecache_mutex);
|
||||||
/* synchronize_rcu() is called after netns pre_exit */
|
/* synchronize_rcu() is called after netns pre_exit */
|
||||||
}
|
}
|
||||||
@ -299,7 +299,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
void nf_conntrack_ecache_work(struct net *net, enum nf_ct_ecache_state state)
|
void nf_conntrack_ecache_work(struct net *net, enum nf_ct_ecache_state state)
|
||||||
--- a/net/netfilter/nf_conntrack_netlink.c
|
--- a/net/netfilter/nf_conntrack_netlink.c
|
||||||
+++ b/net/netfilter/nf_conntrack_netlink.c
|
+++ b/net/netfilter/nf_conntrack_netlink.c
|
||||||
@@ -706,12 +706,19 @@ static size_t ctnetlink_nlmsg_size(const
|
@@ -712,12 +712,19 @@ static size_t ctnetlink_nlmsg_size(const
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -319,7 +319,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
struct nf_conn *ct = item->ct;
|
struct nf_conn *ct = item->ct;
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
@@ -3761,11 +3768,17 @@ static int ctnetlink_stat_exp_cpu(struct
|
@@ -3791,11 +3798,17 @@ static int ctnetlink_stat_exp_cpu(struct
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
||||||
@ -337,7 +337,7 @@ Signed-off-by: Zhi Chen <zhichen@codeaurora.org>
|
|||||||
|
|
||||||
static const struct nfnl_callback ctnl_cb[IPCTNL_MSG_MAX] = {
|
static const struct nfnl_callback ctnl_cb[IPCTNL_MSG_MAX] = {
|
||||||
[IPCTNL_MSG_CT_NEW] = {
|
[IPCTNL_MSG_CT_NEW] = {
|
||||||
@@ -3864,8 +3877,12 @@ static int __net_init ctnetlink_net_init
|
@@ -3894,8 +3907,12 @@ static int __net_init ctnetlink_net_init
|
||||||
static void ctnetlink_net_pre_exit(struct net *net)
|
static void ctnetlink_net_pre_exit(struct net *net)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
||||||
|
Loading…
Reference in New Issue
Block a user