Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149221760
D22089.id63484.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
957 B
Referenced Files
None
Subscribers
None
D22089.id63484.diff
View Options
Index: sys/net/debugnet.c
===================================================================
--- sys/net/debugnet.c
+++ sys/net/debugnet.c
@@ -38,6 +38,7 @@
#include <sys/systm.h>
#include <sys/endian.h>
#include <sys/errno.h>
+#include <sys/eventhandler.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
Index: sys/netinet/netdump/netdump_client.c
===================================================================
--- sys/netinet/netdump/netdump_client.c
+++ sys/netinet/netdump/netdump_client.c
@@ -409,16 +409,14 @@
netdump_configure(struct diocskerneldump_arg *conf, struct thread *td)
{
struct ifnet *ifp;
- struct vnet *vnet;
NETDUMP_ASSERT_WLOCKED();
if (conf->kda_iface[0] != 0) {
if (td != NULL)
- vnet = TD_TO_VNET(td);
+ CURVNET_SET(TD_TO_VNET(td));
else
- vnet = vnet0;
- CURVNET_SET(vnet);
+ CURVNET_SET(vnet0);
if (td != NULL && !IS_DEFAULT_VNET(curvnet)) {
CURVNET_RESTORE();
return (EINVAL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 24, 2:39 AM (14 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30222227
Default Alt Text
D22089.id63484.diff (957 B)
Attached To
Mode
D22089: Fix compilation of kernel without VNET support
Attached
Detach File
Event Timeline
Log In to Comment