netfilter: xtables: make use of caller family rather than match family
authorJan Engelhardt <jengelh@medozas.de>
Wed, 17 Mar 2010 23:44:52 +0000 (00:44 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 18 Mar 2010 13:20:06 +0000 (14:20 +0100)
The matches can have .family = NFPROTO_UNSPEC, and though that is not
the case for the touched modules, it seems better to just use the
nfproto from the caller.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
net/netfilter/xt_dscp.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_policy.c
net/netfilter/xt_recent.c
net/netfilter/xt_state.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge