Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131856475
D29593.id86861.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
761 B
Referenced Files
None
Subscribers
None
D29593.id86861.diff
View Options
Index: sys/net/debugnet.c
===================================================================
--- sys/net/debugnet.c
+++ sys/net/debugnet.c
@@ -91,6 +91,10 @@
SYSCTL_INT(_net_debugnet, OID_AUTO, nretries, CTLFLAG_RWTUN,
&debugnet_nretries, 0,
"Number of retransmit attempts before giving up");
+int debugnet_fib = RT_DEFAULT_FIB;
+SYSCTL_INT(_net_debugnet, OID_AUTO, fib, CTLFLAG_RWTUN,
+ &debugnet_fib, 0,
+ "Fib to use when sending dump");
static bool g_debugnet_pcb_inuse;
static struct debugnet_pcb g_dnet_pcb;
@@ -658,7 +662,7 @@
};
CURVNET_SET(vnet0);
- nh = fib4_lookup_debugnet(RT_DEFAULT_FIB, dest_sin.sin_addr, 0,
+ nh = fib4_lookup_debugnet(debugnet_fib, dest_sin.sin_addr, 0,
NHR_NONE);
CURVNET_RESTORE();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 6:03 PM (7 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23634252
Default Alt Text
D29593.id86861.diff (761 B)
Attached To
Mode
D29593: Allow to specify debugnet fib in sysctl/tunable.
Attached
Detach File
Event Timeline
Log In to Comment