diff options
author | Phil Sutter <phil@nwl.cc> | 2017-08-15 01:43:02 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-15 12:26:36 +0200 |
commit | 97fc68267afd46db08c891420e5702e27d890611 (patch) | |
tree | acea9caab188dda9a365c9c6193b15ea926c9d3d /tests/monitor/testcases/set-maps.t | |
parent | 41e5efdf3f6f2c7d438260c785af4c188c881b09 (diff) |
mnl: Drop --echo support for non-batch calls
Echo support in nft_mnl_talk() was broken: nft_mnl_talk_cb() passed
cbdata->data as second parameter to netlink_echo_callback() which
expected it to be of type struct netlink_ctx while in fact it was
whatever callers of nft_mnl_talk() passed as callback data (in most
cases a NULL pointer).
I didn't notice this because I didn't test for kernels without support
for transactions. This has been added to nftables in kernel version 3.16
back in 2014. Since then, user space which doesn't support it can't even
add a table anymore. So adding this new feature to the old code path is
really not feasible, therefore drop this broken attempt at supporting
it.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/monitor/testcases/set-maps.t')
0 files changed, 0 insertions, 0 deletions