diff options
author | 2015-09-23 08:49:46 +0000 | |
---|---|---|
committer | 2015-09-23 08:49:46 +0000 | |
commit | aa085df96f91ef73eaa5197c4b58f40465a30941 (patch) | |
tree | 53c258ddb74130de1adf159ca9c8892606df8ac3 /sys/netinet6 | |
parent | fix line number handling in dired delete functions. (diff) | |
download | wireguard-openbsd-aa085df96f91ef73eaa5197c4b58f40465a30941.tar.xz wireguard-openbsd-aa085df96f91ef73eaa5197c4b58f40465a30941.zip |
Always increment rt_use inside rtalloc(9) instead of doing it in some
specific places.
ok claudio@, benno@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_output.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index d4d8348d77b..efa01519c11 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.188 2015/09/13 13:57:07 mpi Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.189 2015/09/23 08:49:46 mpi Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -558,12 +558,6 @@ reroute: *dst = dstsock; } - /* - * then rt (for unicast) and ifp must be non-NULL valid values. - */ - if (rt) - rt->rt_use++; - if (rt && !IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { if (opt && opt->ip6po_nextroute.ro_rt) { /* |