Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/netinet pullup-1-6 ticket #506 (itojun).
details: https://anonhg.NetBSD.org/src/rev/8a822a2b2cb2
branches: netbsd-1-6
changeset: 528434:8a822a2b2cb2
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jul 15 16:32:46 2002 +0000
description:
pullup-1-6 ticket #506 (itojun).
Original log message:
need to bzero() before rtalloc. KAME PR 432.
diffstat:
sys/netinet/in_gif.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 3e4d8114eeda -r 8a822a2b2cb2 sys/netinet/in_gif.c
--- a/sys/netinet/in_gif.c Mon Jul 15 16:30:15 2002 +0000
+++ b/sys/netinet/in_gif.c Mon Jul 15 16:32:46 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_gif.c,v 1.26 2001/12/21 03:21:51 itojun Exp $ */
+/* $NetBSD: in_gif.c,v 1.26.10.1 2002/07/15 16:32:46 thorpej Exp $ */
/* $KAME: in_gif.c,v 1.66 2001/07/29 04:46:09 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.26 2001/12/21 03:21:51 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.26.10.1 2002/07/15 16:32:46 thorpej Exp $");
#include "opt_inet.h"
#include "opt_iso.h"
@@ -187,6 +187,7 @@
if (dst->sin_family != sin_dst->sin_family ||
dst->sin_addr.s_addr != sin_dst->sin_addr.s_addr) {
/* cache route doesn't match */
+ bzero(dst, sizeof(*dst));
dst->sin_family = sin_dst->sin_family;
dst->sin_len = sizeof(struct sockaddr_in);
dst->sin_addr = sin_dst->sin_addr;
Home |
Main Index |
Thread Index |
Old Index