Re: [PATCHv2] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-07-02 Thread David Miller
From: Po-Hsu Lin Date: Mon, 1 Jul 2019 12:40:31 +0800 > The psock_tpacket test will need to access /proc/kallsyms, this would > require the kernel config CONFIG_KALLSYMS to be enabled first. > > Apart from adding CONFIG_KALLSYMS to the net/config file here, check the > file existence to

Re: [PATCHv2] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-07-02 Thread shuah
On 6/30/19 10:40 PM, Po-Hsu Lin wrote: The psock_tpacket test will need to access /proc/kallsyms, this would require the kernel config CONFIG_KALLSYMS to be enabled first. Apart from adding CONFIG_KALLSYMS to the net/config file here, check the file existence to determine if we can run this

[PATCHv2] selftests/net: skip psock_tpacket test if KALLSYMS was not enabled

2019-06-30 Thread Po-Hsu Lin
The psock_tpacket test will need to access /proc/kallsyms, this would require the kernel config CONFIG_KALLSYMS to be enabled first. Apart from adding CONFIG_KALLSYMS to the net/config file here, check the file existence to determine if we can run this test will be helpful to avoid a