Module Name: src
Committed By: ozaki-r
Date: Wed Oct 4 02:25:07 UTC 2017
Modified Files:
src/sys/sys: protosw.h
Log Message:
Include socketvar.h for softnet_lock
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/sys/protosw.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/protosw.h
diff -u src/sys/sys/protosw.h:1.67 src/sys/sys/protosw.h:1.68
--- src/sys/sys/protosw.h:1.67 Wed Sep 27 10:05:05 2017
+++ src/sys/sys/protosw.h Wed Oct 4 02:25:07 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: protosw.h,v 1.67 2017/09/27 10:05:05 ozaki-r Exp $ */
+/* $NetBSD: protosw.h,v 1.68 2017/10/04 02:25:07 ozaki-r Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -494,6 +494,8 @@ name##_wrapper(int a, const struct socka
return rv; \
}
+#include <sys/socketvar.h> /* for softnet_lock */
+
#define PR_WRAP_INPUT(name) \
static void \
name##_wrapper(struct mbuf *m, ...) \