Whamcloud - gitweb
b=20805 rate limit D_NETERR messages
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-tcpip.c
index d623e2f..9d673f0 100644 (file)
@@ -679,7 +679,7 @@ libcfs_sock_connect (struct socket **sockp, int *fatal,
          * port... */
         *fatal = !(rc == -EADDRNOTAVAIL);
 
-        CDEBUG(*fatal ? D_NETERROR : D_NET,
+        CDEBUG_LIMIT(*fatal ? D_NETERROR : D_NET,
                "Error %d connecting %u.%u.%u.%u/%d -> %u.%u.%u.%u/%d\n", rc,
                HIPQUAD(local_ip), local_port, HIPQUAD(peer_ip), peer_port);