diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-03-27 18:23:16 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-03-27 18:23:16 +0000 |
commit | ebcae94e4fa0a14363989ebb213ca3cd1ff044fc (patch) | |
tree | a559229acb57dab2479ddd70fe3b0ff57fbcfc40 | |
parent | 1b5844118e7f5ea364ce71c73d4e2628fda15e7b (diff) |
Notes
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 6a1f903013ab3..87137f4dc6259 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.26 1996/03/11 15:13:33 davidg Exp $ + * $Id: tcp_subr.c,v 1.27 1996/03/22 18:11:25 wollman Exp $ */ #include <sys/param.h> @@ -236,7 +236,7 @@ tcp_respond(tp, ti, m, ack, seq, flags) tcp_trace(TA_OUTPUT, 0, tp, ti, 0); #endif (void) ip_output(m, NULL, ro, 0, NULL); - if (ro == &sro) { + if (ro == &sro && ro->ro_rt) { RTFREE(ro->ro_rt); } } diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 6a1f903013ab3..87137f4dc6259 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.26 1996/03/11 15:13:33 davidg Exp $ + * $Id: tcp_subr.c,v 1.27 1996/03/22 18:11:25 wollman Exp $ */ #include <sys/param.h> @@ -236,7 +236,7 @@ tcp_respond(tp, ti, m, ack, seq, flags) tcp_trace(TA_OUTPUT, 0, tp, ti, 0); #endif (void) ip_output(m, NULL, ro, 0, NULL); - if (ro == &sro) { + if (ro == &sro && ro->ro_rt) { RTFREE(ro->ro_rt); } } |