ell.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] acd: remove 'No target or source conflict' print
@ 2022-01-31 17:49 James Prestwood
  0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-01-31 17:49 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

This is quite common and expected with ACD, and printing it serves
no useful purpose. The kind of debugging that is important is when
a conflict is detected.
---
 ell/acd.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/ell/acd.c b/ell/acd.c
index 4216898..3c8e7fe 100644
--- a/ell/acd.c
+++ b/ell/acd.c
@@ -281,11 +281,8 @@ static bool acd_read_handler(struct l_io *io, void *user_data)
 	target_conflict = probe &&
 		!memcmp(arp.arp_tpa, &acd->ip, sizeof(uint32_t));
 
-	if (!source_conflict && !target_conflict) {
-		ACD_DEBUG("No target or source conflict detected for "NIPQUAD_FMT,
-				NIPQUAD(acd->ip));
+	if (!source_conflict && !target_conflict)
 		return true;
-	}
 
 	switch (acd->state) {
 	case ACD_STATE_PROBE:
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] acd: remove 'No target or source conflict' print
@ 2022-01-31 19:22 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-01-31 19:22 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

Hi James,

On 1/31/22 11:49, James Prestwood wrote:
> This is quite common and expected with ACD, and printing it serves
> no useful purpose. The kind of debugging that is important is when
> a conflict is detected.
> ---
>   ell/acd.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
> 

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 17:49 [PATCH] acd: remove 'No target or source conflict' print James Prestwood
2022-01-31 19:22 Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).