From e4dbf24823b262eb038833fbf82ad688fe1cc5e4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 24 Nov 2022 00:02:20 +0000 Subject: [PATCH] polypath: Do not separately log xmit failures udp_sock_experienced handles the necessary logging. We don't want a log message per packet, even if they're errors. Empirically, using a network speed test web page, over the same network interface, can cause this to get EAGAIN and produce logspam. Signed-off-by: Ian Jackson --- polypath.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/polypath.c b/polypath.c index 64284a3..adac598 100644 --- a/polypath.c +++ b/polypath.c @@ -504,9 +504,6 @@ static void polypath_sendmsg_interf(struct polypath *st, } if (!(errno==EAFNOSUPPORT || errno==ENETUNREACH)) reasonable=True; - lg_perror(LG,M_DEBUG,errno,"%s [%s] xmit %"PRIu32" bytes to %s", - interf->name,iaddr_to_string(&us->addr), - buf->size,iaddr_to_string(&dest->ia)); } if (!wanted) return; -- 2.30.2