diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-07-03 22:47:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-03 22:47:27 -0400 |
commit | 4bdbf6c033ba05bff65f69989baccd7103c5a530 (patch) | |
tree | e4559c8222b066113d441b9545744a1c2bd569fc /net/ipv6 | |
parent | 6508871eddbbd3e62799f3b6182a6a4fd3ef31d5 (diff) |
[NET]: add+use poison defines
Add and use poison defines in net/.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/ip6_tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index 7ef143c0ebf6..f26898b00347 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/vmalloc.h> | 25 | #include <linux/vmalloc.h> |
26 | #include <linux/netdevice.h> | 26 | #include <linux/netdevice.h> |
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <linux/poison.h> | ||
28 | #include <linux/icmpv6.h> | 29 | #include <linux/icmpv6.h> |
29 | #include <net/ipv6.h> | 30 | #include <net/ipv6.h> |
30 | #include <asm/uaccess.h> | 31 | #include <asm/uaccess.h> |
@@ -376,7 +377,7 @@ ip6t_do_table(struct sk_buff **pskb, | |||
376 | } while (!hotdrop); | 377 | } while (!hotdrop); |
377 | 378 | ||
378 | #ifdef CONFIG_NETFILTER_DEBUG | 379 | #ifdef CONFIG_NETFILTER_DEBUG |
379 | ((struct ip6t_entry *)table_base)->comefrom = 0xdead57ac; | 380 | ((struct ip6t_entry *)table_base)->comefrom = NETFILTER_LINK_POISON; |
380 | #endif | 381 | #endif |
381 | read_unlock_bh(&table->lock); | 382 | read_unlock_bh(&table->lock); |
382 | 383 | ||