changeset 222:c8ad11effa95

Added comment about bug in sctp_getpaddrs
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 23 Feb 2010 11:42:26 +0900
parents 482d3ebc4cb9
children 85dc47afeac7
files freeDiameter/sctp.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/sctp.c	Fri Feb 19 18:52:57 2010 +0900
+++ b/freeDiameter/sctp.c	Tue Feb 23 11:42:26 2010 +0900
@@ -934,9 +934,6 @@
 			case AF_INET6:	sl = sizeof(sSA6); break;
 			default:
 				TRACE_DEBUG(INFO, "Unkown address family returned in sctp_getladdrs: %d", ptr.sa->sa_family);
-				TRACE_DEBUG_BUFFER(NONE, "DEBUG: Parsed data : [", data, ptr.buf - (uint8_t *)data, "]" );
-				TRACE_DEBUG(NONE, "DEBUG: Remaining %d addresses to parse in :", count)
-				TRACE_DEBUG_BUFFER(NONE, "DEBUG: Unable to parse [", ptr.buf, count * sizeof(sSA), "]" );
 				goto stop;
 		}
 				
@@ -985,10 +982,7 @@
 			case AF_INET6:	sl = sizeof(sSA6); break;
 			default:
 				TRACE_DEBUG(INFO, "Unkown address family returned in sctp_getpaddrs: %d, skip", ptr.sa->sa_family);
-				TRACE_DEBUG_BUFFER(NONE, "DEBUG: Parsed data : [", data, ptr.buf - (uint8_t *)data, "]" );
-				TRACE_DEBUG(NONE, "DEBUG: Remaining %d addresses to parse in :", count)
-				TRACE_DEBUG_BUFFER(NONE, "DEBUG: Unable to parse [", ptr.buf, count * sizeof(sSA), "]" );
-				/* The bug is probably in the kernel actually... */
+				/* There is a bug in current Linux kernel: http://www.spinics.net/lists/linux-sctp/msg00760.html */
 				goto stop;
 		}
 				
"Welcome to our mercurial repository"