Skip to content

Commit 0fe3c63

Browse files
committed
bpfilter: Move bpfilter_umh back into init data
To allow for restarts 61fbf59 ("net: bpfilter: restart bpfilter_umh when error occurred") moved the blob holding the userspace binary out of the init sections. Now that loading the blob into a filesystem is separate from executing the blob the blob no longer needs to live .rodata to allow for restarting. So move the blob back to .init.rodata. v1: https://lkml.kernel.org/r/[email protected] v2: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Greg Kroah-Hartman <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Tested-by: Alexei Starovoitov <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>
1 parent 25cf336 commit 0fe3c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/bpfilter/bpfilter_umh_blob.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
.section .rodata, "a"
2+
.section .init.rodata, "a"
33
.global bpfilter_umh_start
44
bpfilter_umh_start:
55
.incbin "net/bpfilter/bpfilter_umh"

0 commit comments

Comments
 (0)