Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net missed one inet6 check
details: https://anonhg.NetBSD.org/src/rev/9176d0d1aab7
branches: trunk
changeset: 325688:9176d0d1aab7
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 03 12:49:59 2014 +0000
description:
missed one inet6 check
diffstat:
sys/net/if.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 6ba3ab0f6ad0 -r 9176d0d1aab7 sys/net/if.c
--- a/sys/net/if.c Fri Jan 03 12:20:26 2014 +0000
+++ b/sys/net/if.c Fri Jan 03 12:49:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.270 2014/01/02 18:29:01 pooka Exp $ */
+/* $NetBSD: if.c,v 1.271 2014/01/03 12:49:59 pooka Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.270 2014/01/02 18:29:01 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.271 2014/01/03 12:49:59 pooka Exp $");
#include "opt_inet.h"
@@ -1685,7 +1685,8 @@
* If the link MTU changed, do network layer specific procedure.
*/
#ifdef INET6
- nd6_setmtu(ifp);
+ if (in6_present)
+ nd6_setmtu(ifp);
#endif
return ENETRESET;
default:
Home |
Main Index |
Thread Index |
Old Index