diff options
author | Tom Jones <thj@FreeBSD.org> | 2020-07-13 13:35:36 +0000 |
---|---|---|
committer | Tom Jones <thj@FreeBSD.org> | 2020-07-13 13:35:36 +0000 |
commit | b2776a1809ee698ed459f551485c97cbb51c0665 (patch) | |
tree | dcdea35e8258e3783942ae84a46ba7fdce16214e /sys/netpfil/ipfw | |
parent | e3312523403648c2190bfa98363b6391108cc904 (diff) |
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
Notes
Notes:
svn path=/head/; revision=363141
Diffstat (limited to 'sys/netpfil/ipfw')
-rw-r--r-- | sys/netpfil/ipfw/ip_dummynet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_dummynet.c b/sys/netpfil/ipfw/ip_dummynet.c index 22a784d3d6ea..70cb2e5043ed 100644 --- a/sys/netpfil/ipfw/ip_dummynet.c +++ b/sys/netpfil/ipfw/ip_dummynet.c @@ -2511,7 +2511,6 @@ ip_dn_init(void) { if (dn_cfg.init_done) return; - printf("DUMMYNET %p with IPv6 initialized (100409)\n", curvnet); dn_cfg.init_done = 1; /* Set defaults here. MSVC does not accept initializers, * and this is also useful for vimages |