diff options
-rw-r--r-- | sys/net/radix_mpath.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/radix_mpath.c b/sys/net/radix_mpath.c index 31e89e4d095..8b375f18acd 100644 --- a/sys/net/radix_mpath.c +++ b/sys/net/radix_mpath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radix_mpath.c,v 1.6 2006/06/18 11:47:45 pascoe Exp $ */ +/* $OpenBSD: radix_mpath.c,v 1.7 2006/06/18 12:03:19 pascoe Exp $ */ /* $KAME: radix_mpath.c,v 1.13 2002/10/28 21:05:59 itojun Exp $ */ /* @@ -228,7 +228,7 @@ rtalloc_mpath(struct route *ro, u_int32_t *srcaddrp, u_int tableid) /* * return a cached entry if it is still valid, otherwise we increase * the risk of disrupting local flows. - */ + */ if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP)) return; ro->ro_rt = rtalloc1(&ro->ro_dst, 1, tableid); diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 8302a40f3c9..29803454585 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.142 2006/06/18 11:47:45 pascoe Exp $ */ +/* $OpenBSD: ip_input.c,v 1.143 2006/06/18 12:03:19 pascoe Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -1498,7 +1498,7 @@ ip_forward(m, srcrt) ipstat.ips_forward++; if (type) ipstat.ips_redirectsent++; - else + else goto freecopy; } if (mcopy == NULL) |