[EBTABLES]: Move more stuff into ebt_verify_pointers().
commite4fd77deac764e17cb1eab8661bcf1413204d04d
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Dec 2006 03:26:35 +0000 (30 19:26 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:59 +0000 (2 21:31 -0800)
tree09387ab5449d3013196df7e269ed2f1fd757f8ca
parent70fe9af47ee01a17fe7486f1739f6eac8a14868b
[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>
net/bridge/netfilter/ebtables.c