aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/t4_clip.c
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2020-03-13 00:12:15 +0000
committerNavdeep Parhar <np@FreeBSD.org>2020-03-13 00:12:15 +0000
commit7a25fb99632081f1ab13511a33fd748c4a7868d9 (patch)
treef27f52264ea4a2b8abf742b4ad40d9bfd074ce4f /sys/dev/cxgbe/t4_clip.c
parent797711a84f0b6c3466afaaf32ae387cb70d95c14 (diff)
Notes
Diffstat (limited to 'sys/dev/cxgbe/t4_clip.c')
-rw-r--r--sys/dev/cxgbe/t4_clip.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/t4_clip.c b/sys/dev/cxgbe/t4_clip.c
index 8bd86885ab2b7..ff34e811b82f8 100644
--- a/sys/dev/cxgbe/t4_clip.c
+++ b/sys/dev/cxgbe/t4_clip.c
@@ -273,8 +273,12 @@ update_clip_table(struct adapter *sc)
inet_ntop(AF_INET6, &ce->lip, &ip[0],
sizeof(ip));
- log(LOG_ERR, "%s: could not add %s (%d)\n",
- __func__, ip, rc);
+ if (sc->flags & KERN_TLS_OK ||
+ sc->active_ulds != 0) {
+ log(LOG_ERR,
+ "%s: could not add %s (%d)\n",
+ __func__, ip, rc);
+ }
free(ce, M_CXGBE);
}
next: