aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-06-23 20:10:10 -0400
committerDavid S. Miller <davem@davemloft.net>2012-06-23 20:10:10 -0400
commit0b4a9e1a591ca92726d32dbe043eb737734c6a0e (patch)
tree8ee8e13183bc1852073e9a592780f069d73954f5 /include/linux
parentdfbce08c19cba2ba4faaf8c0dd6d7678f46c78dd (diff)
parent8e36c4b5b673edc6081599b8bd461e062e4910f4 (diff)
Merge branch 'master' of git://1984.lsi.us.es/nf-next
Pablo says: ==================== The following four patches provide Netfilter fixes for the cthelper infrastructure that was recently merged mainstream, they are: * two fixes for compilation breakage with two different configurations: - CONFIG_NF_NAT=m and CONFIG_NF_CT_NETLINK=y - NF_CONNTRACK_EVENTS=n and CONFIG_NETFILTER_NETLINK_QUEUE_CT=y * two fixes for sparse warnings. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netfilter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index dca19e61b30a..c613cf0d7884 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -401,10 +401,14 @@ struct nfq_ct_hook {
401 size_t (*build_size)(const struct nf_conn *ct); 401 size_t (*build_size)(const struct nf_conn *ct);
402 int (*build)(struct sk_buff *skb, struct nf_conn *ct); 402 int (*build)(struct sk_buff *skb, struct nf_conn *ct);
403 int (*parse)(const struct nlattr *attr, struct nf_conn *ct); 403 int (*parse)(const struct nlattr *attr, struct nf_conn *ct);
404};
405extern struct nfq_ct_hook __rcu *nfq_ct_hook;
406
407struct nfq_ct_nat_hook {
404 void (*seq_adjust)(struct sk_buff *skb, struct nf_conn *ct, 408 void (*seq_adjust)(struct sk_buff *skb, struct nf_conn *ct,
405 u32 ctinfo, int off); 409 u32 ctinfo, int off);
406}; 410};
407extern struct nfq_ct_hook *nfq_ct_hook; 411extern struct nfq_ct_nat_hook __rcu *nfq_ct_nat_hook;
408#else 412#else
409static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {} 413static inline void nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) {}
410#endif 414#endif