mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Don't print VNET pointer when initializing dummynet
When dummynet initializes it prints a debug message with the current VNET pointer unnecessarily revealing kernel memory layout. This appears to be left over from when the first pieces of vimage support were added. PR: 238658 Submitted by: huangfq.daxian@gmail.com Reviewed by: markj, bz, gnn, kp, melifaro Approved by: jtl (co-mentor), bz (co-mentor) Event: July 2020 Bugathon MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D25619
This commit is contained in:
parent
e331252340
commit
b2776a1809
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363141
@ -2511,7 +2511,6 @@ ip_dn_init(void)
|
|||||||
{
|
{
|
||||||
if (dn_cfg.init_done)
|
if (dn_cfg.init_done)
|
||||||
return;
|
return;
|
||||||
printf("DUMMYNET %p with IPv6 initialized (100409)\n", curvnet);
|
|
||||||
dn_cfg.init_done = 1;
|
dn_cfg.init_done = 1;
|
||||||
/* Set defaults here. MSVC does not accept initializers,
|
/* Set defaults here. MSVC does not accept initializers,
|
||||||
* and this is also useful for vimages
|
* and this is also useful for vimages
|
||||||
|
Loading…
Reference in New Issue
Block a user