]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: x_tables: make xt_compat_match_from_user usable in iterator macros
authorPatrick McHardy <kaber@trash.net>
Tue, 18 Dec 2007 05:46:40 +0000 (21:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:28 +0000 (14:58 -0800)
commit6aeaa0871d3ac7d37d17ceaada1156f325b65d25
tree1034260f3a5d1e7258cc2193734516a697c83e47
parentd8a4fab0f2083c553cf1710ee1fa72f61ec76e27
[NETFILTER]: x_tables: make xt_compat_match_from_user usable in iterator macros

Make xt_compat_match_from_user return an int to make it usable in the
*tables iterator macros and kill a now unnecessary wrapper function.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/x_tables.h
net/ipv4/netfilter/ip_tables.c
net/netfilter/x_tables.c