path: root/tests/shell/testcases
diff options
authorPhil Sutter <>2021-11-29 16:26:44 +0100
committerPhil Sutter <>2021-12-03 12:50:18 +0100
commit17297d1acbbff0133f8614dbee6717edf55c39f8 (patch)
treed3d0f078888445061be8af50cdf4045b6e62f982 /tests/shell/testcases
parent95781fcbddcd6524f67a3357c0cf91f13be24053 (diff)
cache: Filter chain list on kernel side
When operating on a specific chain, add payload to NFT_MSG_GETCHAIN so kernel returns only relevant data. Since ENOENT is an expected return code, do not treat this as error. While being at it, improve code in chain_cache_cb() a bit: - Check chain's family first, it is a less expensive check than comparing table names. - Do not extract chain name of uninteresting chains. Signed-off-by: Phil Sutter <>
Diffstat (limited to 'tests/shell/testcases')
0 files changed, 0 insertions, 0 deletions