From 3c797b314fb639e04c8fa75f010c81a4924d674d Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sat, 29 Apr 2023 23:02:03 +0200 Subject: [PATCH] [E1000] Stop logging MAC, is sensitive data of log-contributors (#5254) --- drivers/network/dd/e1000/hardware.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/network/dd/e1000/hardware.c b/drivers/network/dd/e1000/hardware.c index c0c41ce9403..94208847274 100644 --- a/drivers/network/dd/e1000/hardware.c +++ b/drivers/network/dd/e1000/hardware.c @@ -676,6 +676,7 @@ NICGetPermanentMacAddress( Adapter->PermanentMacAddress[n * 2 + 1] = (AddrWord >> 8) & 0xff; } +#if 0 NDIS_DbgPrint(MIN_TRACE, ("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n", Adapter->PermanentMacAddress[0], Adapter->PermanentMacAddress[1], @@ -683,6 +684,7 @@ NICGetPermanentMacAddress( Adapter->PermanentMacAddress[3], Adapter->PermanentMacAddress[4], Adapter->PermanentMacAddress[5])); +#endif return NDIS_STATUS_SUCCESS; }