bpfilter: Move bpfilter_umh back into init data
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 25 Jun 2020 21:08:46 +0000 (16:08 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 4 Jul 2020 14:35:50 +0000 (09:35 -0500)
commit0fe3c63148ef5df1b3cb067e4b4d45d45d0c0fdc
tree6db7c23ffc99af76bf991cf20195945e2cd3c39c
parent25cf336de51b51a3e440e1893751f9532095eff0
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/87sgeidlvq.fsf_-_@x220.int.ebiederm.org
v2: https://lkml.kernel.org/r/87ftad4ozc.fsf_-_@x220.int.ebiederm.org
Link: https://lkml.kernel.org/r/20200702164140.4468-11-ebiederm@xmission.com
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
net/bpfilter/bpfilter_umh_blob.S