diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2012-09-10 22:09:47 +0000 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-09-18 15:57:04 -0400 | 
| commit | 2c20cbd7e3aa6e9dddc07975d3f3a89fe1f69c00 (patch) | |
| tree | cbd5e8b8c9c33c5b8c96540ddece5d90b3f63823 /net/ipv6/route.c | |
| parent | 6f3118b571b8a4c06c7985dc3172c3526cb86253 (diff) | |
ipv6: use DST_* macro to set obselete field
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
| -rw-r--r-- | net/ipv6/route.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/net/ipv6/route.c b/net/ipv6/route.c index fb29e2215a19..854e4018d205 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -226,7 +226,7 @@ static struct rt6_info ip6_null_entry_template = {  	.dst = {  		.__refcnt	= ATOMIC_INIT(1),  		.__use		= 1, -		.obsolete	= -1, +		.obsolete	= DST_OBSOLETE_FORCE_CHK,  		.error		= -ENETUNREACH,  		.input		= ip6_pkt_discard,  		.output		= ip6_pkt_discard_out, @@ -246,7 +246,7 @@ static struct rt6_info ip6_prohibit_entry_template = {  	.dst = {  		.__refcnt	= ATOMIC_INIT(1),  		.__use		= 1, -		.obsolete	= -1, +		.obsolete	= DST_OBSOLETE_FORCE_CHK,  		.error		= -EACCES,  		.input		= ip6_pkt_prohibit,  		.output		= ip6_pkt_prohibit_out, @@ -261,7 +261,7 @@ static struct rt6_info ip6_blk_hole_entry_template = {  	.dst = {  		.__refcnt	= ATOMIC_INIT(1),  		.__use		= 1, -		.obsolete	= -1, +		.obsolete	= DST_OBSOLETE_FORCE_CHK,  		.error		= -EINVAL,  		.input		= dst_discard,  		.output		= dst_discard, | 
