[NETFILTER]: xt_tables: add centralized error checking
authorPatrick McHardy <kaber@trash.net>
Tue, 21 Mar 2006 01:59:06 +0000 (17:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:59:06 +0000 (17:59 -0800)
Introduce new functions for common match/target checks (private data
size, valid hooks, valid tables and valid protocols) to get more consistent
error reporting and to avoid each module duplicating them.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found