Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net gif(4) does not need link state changing interrupts



details:   https://anonhg.NetBSD.org/src/rev/1567a4677f6a
branches:  trunk
changeset: 816266:1567a4677f6a
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 27 09:06:56 2016 +0000

description:
gif(4) does not need link state changing interrupts

diffstat:

 sys/net/if_gif.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 48b6cd0fccd6 -r 1567a4677f6a sys/net/if_gif.c
--- a/sys/net/if_gif.c  Mon Jun 27 08:58:50 2016 +0000
+++ b/sys/net/if_gif.c  Mon Jun 27 09:06:56 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gif.c,v 1.112 2016/06/24 06:32:47 knakahara Exp $   */
+/*     $NetBSD: if_gif.c,v 1.113 2016/06/27 09:06:56 knakahara Exp $   */
 /*     $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $    */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.112 2016/06/24 06:32:47 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.113 2016/06/27 09:06:56 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -185,6 +185,7 @@
        sc->gif_if.if_addrlen = 0;
        sc->gif_if.if_mtu    = GIF_MTU;
        sc->gif_if.if_flags  = IFF_POINTOPOINT | IFF_MULTICAST;
+       sc->gif_if.if_extflags  = IFEF_NO_LINK_STATE_CHANGE;
        sc->gif_if.if_ioctl  = gif_ioctl;
        sc->gif_if.if_output = gif_output;
        sc->gif_if.if_type   = IFT_GIF;



Home | Main Index | Thread Index | Old Index