OSDN Git Service

selftests: explicitly require kernel features needed by udpgro tests
authorPaolo Abeni <pabeni@redhat.com>
Wed, 21 Nov 2018 13:31:15 +0000 (14:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 19:35:28 +0000 (11:35 -0800)
commit1d0795ea9ca37be0fa0823776e0367b8fc398c91
tree3349d658554345776c0cd5498dfb8a98f567a8c0
parentf072df95f82811d3c2463b5626f65af499738fac
selftests: explicitly require kernel features needed by udpgro tests

commit 3327a9c46352f1 ("selftests: add functionals test for UDP GRO")
make use of ipv6 NAT, but such a feature is not currently implied by
selftests. Since the 'ip[6]tables' commands may actually create nft rules,
depending on the specific user-space version, let's pull both NF and
NFT nat modules plus the needed deps.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Fixes: 3327a9c46352f1 ("selftests: add functionals test for UDP GRO")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/config