Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63820
b: refs/heads/master
c: 591e620
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Aug 8, 2007
1 parent 2305c65 commit 85bbb06
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff4ca8273eafbba875a86d333e059e78f292107f
refs/heads/master: 591e620693e71e24fb3450a4084217e44b7a60b6
2 changes: 2 additions & 0 deletions trunk/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp;
extern int nf_conntrack_ipv4_compat_init(void);
extern void nf_conntrack_ipv4_compat_fini(void);

extern void need_ipv4_conntrack(void);

#endif /*_NF_CONNTRACK_IPV4_H*/
6 changes: 6 additions & 0 deletions trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,9 @@ static void __exit nf_conntrack_l3proto_ipv4_fini(void)

module_init(nf_conntrack_l3proto_ipv4_init);
module_exit(nf_conntrack_l3proto_ipv4_fini);

void need_ipv4_conntrack(void)
{
return;
}
EXPORT_SYMBOL_GPL(need_ipv4_conntrack);
2 changes: 1 addition & 1 deletion trunk/net/ipv4/netfilter/nf_nat_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static int __init nf_nat_standalone_init(void)
{
int ret = 0;

need_conntrack();
need_ipv4_conntrack();

#ifdef CONFIG_XFRM
BUG_ON(ip_nat_decode_session != NULL);
Expand Down

0 comments on commit 85bbb06

Please sign in to comment.