Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Turn on D_MPSAFE flag of bpf_cdevsw that is already ...
details: https://anonhg.NetBSD.org/src/rev/235ef41fb53f
branches: trunk
changeset: 356879:235ef41fb53f
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Oct 19 01:57:15 2017 +0000
description:
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 3856f4d959c7 -r 235ef41fb53f sys/net/bpf.c
--- a/sys/net/bpf.c Wed Oct 18 18:11:54 2017 +0000
+++ b/sys/net/bpf.c Thu Oct 19 01:57:15 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.217 2017/10/19 01:57:15 ozaki-r 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.217 2017/10/19 01:57:15 ozaki-r 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