network: enable UDP socket monitoring
authorYixun Lan <yixun.lan@amlogic.com>
Fri, 25 May 2018 06:42:19 +0000 (14:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 21 Jun 2018 08:41:23 +0000 (01:41 -0700)
PD#167119: network: enable UDP socket monitoring

this is need by VtsKernelNetTests, otherwise some test cases will fail

Error info:

testUdp (sock_diag_test.SockDestroyPermissionTest) ... skipped 'INET_UDP_DIAG not enabled'
testClosesUdpSockets (sock_diag_test.SockDestroyUdpTest) ... skipped 'INET_UDP_DIAG not enabled'
testReadInterrupted (sock_diag_test.SockDestroyUdpTest)
Tests that read() is interrupted by SOCK_DESTROY. ... skipped 'INET_UDP_DIAG not enabled'
testSocketAddressesAfterClose (sock_diag_test.SockDestroyUdpTest) ... skipped 'INET_UDP_DIAG not enabled'

Change-Id: I732f8d654a476614308992c756d5c8a8711bbbc9
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
arch/arm64/configs/meson64_defconfig

index 874bb14..7ce567a 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_NET_IPIP=y
 CONFIG_SYN_COOKIES=y
 CONFIG_NET_IPVTI=y
 CONFIG_INET_ESP=y
+CONFIG_INET_UDP_DIAG=y
 CONFIG_INET_DIAG_DESTROY=y
 CONFIG_IPV6_ROUTER_PREF=y
 CONFIG_IPV6_ROUTE_INFO=y