Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by ozaki...



details:   https://anonhg.NetBSD.org/src/rev/73c5b7c0dc46
branches:  netbsd-8
changeset: 434363:73c5b7c0dc46
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Oct 25 07:14:09 2017 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #329):
        sys/net/bpf.c: revision 1.217
Turn on D_MPSAFE flag of bpf_cdevsw that is already MP-safe
Pointed out by k-goda@IIJ

diffstat:

 sys/net/bpf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1d84cda98713 -r 73c5b7c0dc46 sys/net/bpf.c
--- a/sys/net/bpf.c     Wed Oct 25 07:12:33 2017 +0000
+++ b/sys/net/bpf.c     Wed Oct 25 07:14:09 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpf.c,v 1.216 2017/02/20 03:08:38 ozaki-r Exp $        */
+/*     $NetBSD: bpf.c,v 1.216.6.1 2017/10/25 07:14:09 snj Exp $        */
 
 /*
  * Copyright (c) 1990, 1991, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.216 2017/02/20 03:08:38 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.216.6.1 2017/10/25 07:14:09 snj Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_bpf.h"
@@ -296,7 +296,7 @@
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
        .d_discard = nodiscard,
-       .d_flag = D_OTHER
+       .d_flag = D_OTHER | D_MPSAFE
 };
 
 bpfjit_func_t



Home | Main Index | Thread Index | Old Index