netfilter: nf_conntrack: restrict NAT helper invocation to IPv4
authorPatrick McHardy <kaber@trash.net>
Sun, 26 Aug 2012 17:14:01 +0000 (19:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 30 Aug 2012 01:00:12 +0000 (03:00 +0200)
commit811927ccfe90fbfcfff5253ba7f95057f6cae692
treec0e2606135bef4b786b3ee60126d02d64528c0a4
parent2b60af017880f7dc35d1fac65f48fc94f8a3c1ec
netfilter: nf_conntrack: restrict NAT helper invocation to IPv4

The NAT helpers currently only handle IPv4 packets correctly. Restrict
invocation of the helpers to IPv4 in preparation of IPv6 NAT.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_amanda.c
net/netfilter/nf_conntrack_ftp.c
net/netfilter/nf_conntrack_h323_main.c
net/netfilter/nf_conntrack_irc.c
net/netfilter/nf_conntrack_sip.c
net/netfilter/nf_conntrack_tftp.c