]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita11c22155c53e458c12ee51229d3ecb742ea238e
treeed49f5c01d7bdb0e994243c3a0888b4a54bb6981
parent4a60ae0dd4bf71887187f3d7562d105e4232672d
netfilter: xtables: make use of caller family rather than match family

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