aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/630-packet_socket_type.patch
diff options
context:
space:
mode:
authorJohn Audia <therealgraysky@proton.me>2022-12-08 08:32:44 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2022-12-11 02:42:52 +0100
commit68426e54eda4f00595390f0c61610b9850bb31db (patch)
treebbbb1e8ea16b2d36f7849e569f17e78477c9321b /target/linux/generic/pending-5.15/630-packet_socket_type.patch
parent424210b7be103f235f1f146783f8f173adc48611 (diff)
downloadupstream-68426e54eda4f00595390f0c61610b9850bb31db.tar.gz
upstream-68426e54eda4f00595390f0c61610b9850bb31db.tar.bz2
upstream-68426e54eda4f00595390f0c61610b9850bb31db.zip
kernel: bump 5.15 to 5.15.82
All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-stock Run-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-stock Signed-off-by: John Audia <therealgraysky@proton.me>
Diffstat (limited to 'target/linux/generic/pending-5.15/630-packet_socket_type.patch')
-rw-r--r--target/linux/generic/pending-5.15/630-packet_socket_type.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/pending-5.15/630-packet_socket_type.patch b/target/linux/generic/pending-5.15/630-packet_socket_type.patch
index c61935ffb0..c305aca6e0 100644
--- a/target/linux/generic/pending-5.15/630-packet_socket_type.patch
+++ b/target/linux/generic/pending-5.15/630-packet_socket_type.patch
@@ -87,7 +87,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
if (!net_eq(dev_net(dev), sock_net(sk)))
goto drop;
-@@ -3330,6 +3332,7 @@ static int packet_create(struct net *net
+@@ -3329,6 +3331,7 @@ static int packet_create(struct net *net
mutex_init(&po->pg_vec_lock);
po->rollover = NULL;
po->prot_hook.func = packet_rcv;
@@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
if (sock->type == SOCK_PACKET)
po->prot_hook.func = packet_rcv_spkt;
-@@ -3971,6 +3974,16 @@ packet_setsockopt(struct socket *sock, i
+@@ -3969,6 +3972,16 @@ packet_setsockopt(struct socket *sock, i
po->xmit = val ? packet_direct_xmit : dev_queue_xmit;
return 0;
}
@@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
default:
return -ENOPROTOOPT;
}
-@@ -4027,6 +4040,13 @@ static int packet_getsockopt(struct sock
+@@ -4025,6 +4038,13 @@ static int packet_getsockopt(struct sock
case PACKET_VNET_HDR:
val = po->has_vnet_hdr;
break;