commit | f09eca8db0184aeb6b9718a987cfb3653ad7c4ae | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Jul 09 20:16:39 2013 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jul 15 11:14:51 2013 +0200 |
tree | 2bbff5c8c07245d284101a81121d0a4c6b1d9c24 | |
parent | 63345b4794aef4ebe16502cfe35b02bc9822d763 [diff] |
netfilter: ctnetlink: fix incorrect NAT expectation dumping nf_ct_expect_alloc leaves unset the expectation NAT fields. However, ctnetlink_exp_dump_expect expects them to be zeroed in case they are not used, which may not be the case. This results in dumping the NAT tuple of the expectation when it should not. Fix it by zeroing the NAT fields of the expectation. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>