BpfLoader: exec mainline netbpfload for finalization
Move setting 'bpf.progs_loaded' property to 1 into mainline.
This doesn't terribly matter, but it gives mainline bpf loading
code a chance to run after platform and perform any required
finalization.
While at it also use distinctive error return values,
as these are often the only thing that init reports about
a bpfloader failure.
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If502cf07c8ceed306c18821075a92f99437da4dd
2 files changed