mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
kernel: bump 5.15 to 5.15.19 (#8811)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
308842ef19
commit
253548a3ce
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-5.15 = .18
|
LINUX_VERSION-5.15 = .19
|
||||||
LINUX_KERNEL_HASH-5.15.18 = 21dd70e84d776a3403836d435bc523059a43f5bce72c75728981126dd9786c5e
|
LINUX_KERNEL_HASH-5.15.19 = 01be32c9f2a1a48fffe81c1992ce6cea6bba7ebe5cb574533fd6d608d864e050
|
||||||
|
@ -286,7 +286,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
goto err;
|
goto err;
|
||||||
--- a/net/core/net-procfs.c
|
--- a/net/core/net-procfs.c
|
||||||
+++ b/net/core/net-procfs.c
|
+++ b/net/core/net-procfs.c
|
||||||
@@ -287,10 +287,12 @@ static int __net_init dev_proc_net_init(
|
@@ -317,10 +317,12 @@ static int __net_init dev_proc_net_init(
|
||||||
if (!proc_create_net("dev", 0444, net->proc_net, &dev_seq_ops,
|
if (!proc_create_net("dev", 0444, net->proc_net, &dev_seq_ops,
|
||||||
sizeof(struct seq_net_private)))
|
sizeof(struct seq_net_private)))
|
||||||
goto out;
|
goto out;
|
||||||
@ -301,7 +301,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
sizeof(struct seq_net_private)))
|
sizeof(struct seq_net_private)))
|
||||||
goto out_softnet;
|
goto out_softnet;
|
||||||
|
|
||||||
@@ -300,9 +302,11 @@ static int __net_init dev_proc_net_init(
|
@@ -330,9 +332,11 @@ static int __net_init dev_proc_net_init(
|
||||||
out:
|
out:
|
||||||
return rc;
|
return rc;
|
||||||
out_ptype:
|
out_ptype:
|
||||||
@ -315,7 +315,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
out_dev:
|
out_dev:
|
||||||
remove_proc_entry("dev", net->proc_net);
|
remove_proc_entry("dev", net->proc_net);
|
||||||
goto out;
|
goto out;
|
||||||
@@ -312,8 +316,10 @@ static void __net_exit dev_proc_net_exit
|
@@ -342,8 +346,10 @@ static void __net_exit dev_proc_net_exit
|
||||||
{
|
{
|
||||||
wext_proc_exit(net);
|
wext_proc_exit(net);
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
#define PACKET_FANOUT_LB 1
|
#define PACKET_FANOUT_LB 1
|
||||||
--- a/net/packet/af_packet.c
|
--- a/net/packet/af_packet.c
|
||||||
+++ b/net/packet/af_packet.c
|
+++ b/net/packet/af_packet.c
|
||||||
@@ -1821,6 +1821,7 @@ static int packet_rcv_spkt(struct sk_buf
|
@@ -1822,6 +1822,7 @@ static int packet_rcv_spkt(struct sk_buf
|
||||||
{
|
{
|
||||||
struct sock *sk;
|
struct sock *sk;
|
||||||
struct sockaddr_pkt *spkt;
|
struct sockaddr_pkt *spkt;
|
||||||
@ -38,7 +38,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* When we registered the protocol we saved the socket in the data
|
* When we registered the protocol we saved the socket in the data
|
||||||
@@ -1828,6 +1829,7 @@ static int packet_rcv_spkt(struct sk_buf
|
@@ -1829,6 +1830,7 @@ static int packet_rcv_spkt(struct sk_buf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sk = pt->af_packet_priv;
|
sk = pt->af_packet_priv;
|
||||||
@ -46,7 +46,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Yank back the headers [hope the device set this
|
* Yank back the headers [hope the device set this
|
||||||
@@ -1840,7 +1842,7 @@ static int packet_rcv_spkt(struct sk_buf
|
@@ -1841,7 +1843,7 @@ static int packet_rcv_spkt(struct sk_buf
|
||||||
* so that this procedure is noop.
|
* so that this procedure is noop.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (!net_eq(dev_net(dev), sock_net(sk)))
|
if (!net_eq(dev_net(dev), sock_net(sk)))
|
||||||
@@ -2078,12 +2080,12 @@ static int packet_rcv(struct sk_buff *sk
|
@@ -2079,12 +2081,12 @@ static int packet_rcv(struct sk_buff *sk
|
||||||
unsigned int snaplen, res;
|
unsigned int snaplen, res;
|
||||||
bool is_drop_n_account = false;
|
bool is_drop_n_account = false;
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
if (!net_eq(dev_net(dev), sock_net(sk)))
|
if (!net_eq(dev_net(dev), sock_net(sk)))
|
||||||
goto drop;
|
goto drop;
|
||||||
|
|
||||||
@@ -2209,12 +2211,12 @@ static int tpacket_rcv(struct sk_buff *s
|
@@ -2210,12 +2212,12 @@ static int tpacket_rcv(struct sk_buff *s
|
||||||
BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
|
BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h2)) != 32);
|
||||||
BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48);
|
BUILD_BUG_ON(TPACKET_ALIGN(sizeof(*h.h3)) != 48);
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
if (!net_eq(dev_net(dev), sock_net(sk)))
|
if (!net_eq(dev_net(dev), sock_net(sk)))
|
||||||
goto drop;
|
goto drop;
|
||||||
|
|
||||||
@@ -3318,6 +3320,7 @@ static int packet_create(struct net *net
|
@@ -3319,6 +3321,7 @@ static int packet_create(struct net *net
|
||||||
mutex_init(&po->pg_vec_lock);
|
mutex_init(&po->pg_vec_lock);
|
||||||
po->rollover = NULL;
|
po->rollover = NULL;
|
||||||
po->prot_hook.func = packet_rcv;
|
po->prot_hook.func = packet_rcv;
|
||||||
@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
if (sock->type == SOCK_PACKET)
|
if (sock->type == SOCK_PACKET)
|
||||||
po->prot_hook.func = packet_rcv_spkt;
|
po->prot_hook.func = packet_rcv_spkt;
|
||||||
@@ -3951,6 +3954,16 @@ packet_setsockopt(struct socket *sock, i
|
@@ -3953,6 +3956,16 @@ packet_setsockopt(struct socket *sock, i
|
||||||
po->xmit = val ? packet_direct_xmit : dev_queue_xmit;
|
po->xmit = val ? packet_direct_xmit : dev_queue_xmit;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
default:
|
default:
|
||||||
return -ENOPROTOOPT;
|
return -ENOPROTOOPT;
|
||||||
}
|
}
|
||||||
@@ -4007,6 +4020,13 @@ static int packet_getsockopt(struct sock
|
@@ -4009,6 +4022,13 @@ static int packet_getsockopt(struct sock
|
||||||
case PACKET_VNET_HDR:
|
case PACKET_VNET_HDR:
|
||||||
val = po->has_vnet_hdr;
|
val = po->has_vnet_hdr;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user