From 45332e3c977c8b44ef890c922bdf2d94976c7fad Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 28 Jul 2021 14:30:30 +0200 Subject: [PATCH] fuzz cleanup --- ...xdp-net-fix-use-after-free-in-bpf_xdp_link_release.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/queue-5.10/xdp-net-fix-use-after-free-in-bpf_xdp_link_release.patch b/queue-5.10/xdp-net-fix-use-after-free-in-bpf_xdp_link_release.patch index 0b9015ea3d1..225f07d36c9 100644 --- a/queue-5.10/xdp-net-fix-use-after-free-in-bpf_xdp_link_release.patch +++ b/queue-5.10/xdp-net-fix-use-after-free-in-bpf_xdp_link_release.patch @@ -107,7 +107,7 @@ Signed-off-by: Sasha Levin --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -9399,14 +9399,17 @@ int bpf_xdp_link_attach(const union bpf_ +@@ -9351,14 +9351,17 @@ int bpf_xdp_link_attach(const union bpf_ struct net_device *dev; int err, fd; @@ -127,7 +127,7 @@ Signed-off-by: Sasha Levin } bpf_link_init(&link->link, BPF_LINK_TYPE_XDP, &bpf_xdp_link_lops, prog); -@@ -9416,14 +9419,14 @@ int bpf_xdp_link_attach(const union bpf_ +@@ -9368,14 +9371,14 @@ int bpf_xdp_link_attach(const union bpf_ err = bpf_link_prime(&link->link, &link_primer); if (err) { kfree(link); @@ -144,7 +144,7 @@ Signed-off-by: Sasha Levin bpf_link_cleanup(&link_primer); goto out_put_dev; } -@@ -9433,6 +9436,9 @@ int bpf_xdp_link_attach(const union bpf_ +@@ -9385,6 +9388,9 @@ int bpf_xdp_link_attach(const union bpf_ dev_put(dev); return fd; -- 2.47.3