path: root/tests
diff options
authorPhil Sutter <>2020-02-14 18:20:29 +0100
committerPhil Sutter <>2020-02-19 11:45:44 +0100
commit629ee38dca48651bc8c0eedf2f3a0066a6c0aa5b (patch)
tree18d43f4b117a286f2a80ec70249c39e93aa501c0 /tests
parent04cc28d8d6923ea66b08ae9a74d81d8b6ac5b2d7 (diff)
src: Fix for reading garbage in nftnl_chain getters
In {s,u}{32,64} type getters nftnl_assert() is called to make sure returned data length matches expectations. Therefore all attributes must set data_len, which NFTNL_CHAIN_DEVICES didn't. While being at it, do the same change for NFTNL_FLOWTABLE_DEVICES as well to make code a bit more consistent although the problem was fixed for flowtables with commit f8eed54150fd4 ("flowtable: Fix for reading garbage") already (but in the other direction). Fixes: e3ac19b5ec162 ("chain: multi-device support") Signed-off-by: Phil Sutter <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions