netfilter: xtables: make use of caller family rather than target family
authorJan Engelhardt <jengelh@medozas.de>
Fri, 19 Mar 2010 17:47:51 +0000 (18:47 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 25 Mar 2010 01:54:51 +0000 (02:54 +0100)
commit0d34545563f99886b997be7da63f0e8084af3bc5
tree92b5212ed186ba719ce12e02d3bdb4330b3d1727
parent2c46cd8163b25bf6f38e612e9f1d162f0357c8f1
netfilter: xtables: make use of caller family rather than target family

Supplement to aa5fa3185791aac71c9172d4fda3e8729164b5d1.
The semantic patch for this change is:

// <smpl>
@@
struct xt_target_param *par;
@@
-par->target->family
+par->family

@@
struct xt_tgchk_param *par;
@@
-par->target->family
+par->family

@@
struct xt_tgdtor_param *par;
@@
-par->target->family
+par->family
// </smpl>

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/netfilter/xt_NFQUEUE.c