diff options
author | Eric W. Biederman <[email protected]> | 2020-06-25 16:08:46 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2020-07-04 09:35:50 -0500 |
commit | 0fe3c63148ef5df1b3cb067e4b4d45d45d0c0fdc (patch) | |
tree | 6db7c23ffc99af76bf991cf20195945e2cd3c39c | |
parent | 25cf336de51b51a3e440e1893751f9532095eff0 (diff) |
bpfilter: Move bpfilter_umh back into init data
To allow for restarts 61fbf5933d42 ("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]>
-rw-r--r-- | net/bpfilter/bpfilter_umh_blob.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bpfilter/bpfilter_umh_blob.S b/net/bpfilter/bpfilter_umh_blob.S index 9ea6100dca87..40311d10d2f2 100644 --- a/net/bpfilter/bpfilter_umh_blob.S +++ b/net/bpfilter/bpfilter_umh_blob.S @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 */ - .section .rodata, "a" + .section .init.rodata, "a" .global bpfilter_umh_start bpfilter_umh_start: .incbin "net/bpfilter/bpfilter_umh" |