Module Name: src
Committed By: christos
Date: Fri Dec 16 20:11:52 UTC 2016
Modified Files:
src/sys/net: route.h
Log Message:
Can't hide stuff from userland, because struct route is embedded in other
structures (like inpcb) and things like fstat stop working.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/net/route.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/net/route.h
diff -u src/sys/net/route.h:1.109 src/sys/net/route.h:1.110
--- src/sys/net/route.h:1.109 Sun Dec 11 22:55:57 2016
+++ src/sys/net/route.h Fri Dec 16 15:11:52 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: route.h,v 1.109 2016/12/12 03:55:57 ozaki-r Exp $ */
+/* $NetBSD: route.h,v 1.110 2016/12/16 20:11:52 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -42,8 +42,8 @@
#include <sys/rwlock.h>
#include <sys/condvar.h>
#include <sys/pserialize.h>
-#include <sys/psref.h>
#endif
+#include <sys/psref.h>
#if !(defined(_KERNEL) || defined(_STANDALONE))
#include <stdbool.h>
@@ -66,10 +66,8 @@ struct route {
struct sockaddr *ro_sa;
LIST_ENTRY(route) ro_rtcache_next;
bool ro_invalid;
-#ifdef _KERNEL
struct psref ro_psref;
int ro_bound;
-#endif
};
/*