summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_decnet.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-29 16:26:44 +0100
committerPhil Sutter <phil@nwl.cc>2021-12-03 12:50:18 +0100
commit17297d1acbbff0133f8614dbee6717edf55c39f8 (patch)
treed3d0f078888445061be8af50cdf4045b6e62f982 /include/linux/netfilter_decnet.h
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 <phil@nwl.cc>
Diffstat (limited to 'include/linux/netfilter_decnet.h')
0 files changed, 0 insertions, 0 deletions