Subject: Re: linux-next: Tree for May 18 (kernel/bpf/bpf_lsm.o)

From: Daniel Borkmann <[email-masked]>
Date: Tue, 25 May 2021 21:15:46 +0200

On 5/25/21 9:01 PM, Randy Dunlap wrote:
> On 5/25/21 11:31 AM, Daniel Borkmann wrote:
>> On 5/25/21 8:26 PM, Daniel Borkmann wrote:
>>> On 5/25/21 7:30 PM, Randy Dunlap wrote:
>>>> On 5/18/21 10:02 AM, Randy Dunlap wrote:
>>>>> On 5/18/21 2:27 AM, Stephen Rothwell wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> Changes since 20210514:
>>>>>
>>>>> on i386:
>>>>> # CONFIG_NET is not set
>>>>>
>>>>> ld: kernel/bpf/bpf_lsm.o: in function `bpf_lsm_func_proto':
>>>>> bpf_lsm.c:(.text+0x1a0): undefined reference to `bpf_sk_storage_get_proto'
>>>>> ld: bpf_lsm.c:(.text+0x1b8): undefined reference to `bpf_sk_storage_delete_proto'
>>>>>
>>>>> Full randconfig file is attached.
>>>>
>>>> Hi,
>>>> I am still seeing this build error in linux-next-20210525.
>>>
>>> Will take a look and get back.
>>
>> This should resolve it:
> 
> Acked-by: Randy Dunlap <[email-masked]> # build-tested

Thanks Randy, fix pushed here [0].

   [0] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=3c9e8fec3c5a7833d891ac8e58fd9f6c2df0be91