commit | e4fd77deac764e17cb1eab8661bcf1413204d04d | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Nov 30 19:26:35 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:31:59 2006 -0800 |
tree | 09387ab5449d3013196df7e269ed2f1fd757f8ca | |
parent | 70fe9af47ee01a17fe7486f1739f6eac8a14868b [diff] |
[EBTABLES]: Move more stuff into ebt_verify_pointers(). Take intialization of ->hook_entry[...], ->entries_size and ->nentries over there, pull the check for empty chains into the end of that sucker. Now it's self-contained, so we can move it up in the very beginning of translate_table() *and* we can rely on ->hook_entry[] being properly transliterated after it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>