]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/netfilter/nf_conntrack_compat.h
[NETFILTER]: x_tables: error if ip_conntrack is asked to handle IPv6 packets
[linux-2.6-omap-h63xx.git] / include / net / netfilter / nf_conntrack_compat.h
index f1b1482d7200a3a8a1d67e4c6cc41ba62167f125..b9ce5c80d9d5cc83087593f25b6e186ffdebb75d 100644 (file)
@@ -64,6 +64,16 @@ static inline int nf_ct_get_ctinfo(const struct sk_buff *skb,
        return (ct != NULL);
 }
 
+static inline int nf_ct_l3proto_try_module_get(unsigned short l3proto)
+{
+       need_conntrack();
+       return l3proto == PF_INET ? 0 : -1;
+}
+
+static inline void nf_ct_l3proto_module_put(unsigned short l3proto)
+{
+}
+
 #else /* CONFIG_IP_NF_CONNTRACK */
 
 #include <net/netfilter/ipv4/nf_conntrack_ipv4.h>