Source-Changes-HG archive

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

[src/trunk]: src/sys/net missing if_extflags of l2tp(4). l2tp(4) is already M...



details:   https://anonhg.NetBSD.org/src/rev/8e6340509e8c
branches:  trunk
changeset: 823352:8e6340509e8c
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Thu Apr 20 09:11:58 2017 +0000

description:
missing if_extflags of l2tp(4). l2tp(4) is already MP-safe.

diffstat:

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

diffs (26 lines):

diff -r b10793d346cf -r 8e6340509e8c sys/net/if_l2tp.c
--- a/sys/net/if_l2tp.c Thu Apr 20 09:03:04 2017 +0000
+++ b/sys/net/if_l2tp.c Thu Apr 20 09:11:58 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_l2tp.c,v 1.9 2017/04/13 00:12:10 knakahara Exp $    */
+/*     $NetBSD: if_l2tp.c,v 1.10 2017/04/20 09:11:58 knakahara Exp $   */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.9 2017/04/13 00:12:10 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.10 2017/04/20 09:11:58 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -263,6 +263,7 @@
        sc->l2tp_ec.ec_if.if_addrlen = 0;
        sc->l2tp_ec.ec_if.if_mtu    = L2TP_MTU;
        sc->l2tp_ec.ec_if.if_flags  = IFF_POINTOPOINT|IFF_MULTICAST|IFF_SIMPLEX;
+       sc->l2tp_ec.ec_if.if_extflags  = IFEF_OUTPUT_MPSAFE|IFEF_START_MPSAFE;
        sc->l2tp_ec.ec_if.if_ioctl  = l2tp_ioctl;
        sc->l2tp_ec.ec_if.if_output = l2tp_output;
        sc->l2tp_ec.ec_if.if_type   = IFT_L2TP;



Home | Main Index | Thread Index | Old Index