summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/parsing/large_rule_pipe
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-10 10:45:19 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-07-10 18:21:19 +0200
commitcb11cbb01fb638cf5713f5715653c099e7019155 (patch)
treeb82c56ec600afbc554781ed58725f1274c4914c3 /tests/shell/testcases/parsing/large_rule_pipe
parent0c5c12f410d70c764ed0c333bf638665aca53d1c (diff)
libnftables: drop check for nf_sock in nft_ctx_free()
The "nft_ctx" API does not provide a way to change or reconnect the netlink socket. And none of the users would rely on that. Also note that nft_ctx_new() initializes nf_sock via nft_mnl_socket_open(), which panics of the socket could not be initialized. This means, the check is unnecessary and needlessly confusing. Drop it. Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/parsing/large_rule_pipe')
0 files changed, 0 insertions, 0 deletions