Subrata Modak wrote:
> Hi Sridhar,
> 
> I downloaded lksctp-tools-1.0.9 from http://sourceforge.net/projects/lksctp
> to update the SCTP tests in LTP:
> http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/sctp/,
> 
> The following patch would have served the update. However, i get some broken
> issues post changes.
> 
> # uname -a
> Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 
> GNU/Linux
> 
> # grep -i sctp /boot/config-2.6.18-92.el5
> CONFIG_NETFILTER_XT_MATCH_SCTP=m
> CONFIG_IP_NF_CT_PROTO_SCTP=m
> CONFIG_IP_SCTP=m
> CONFIG_SCTP_HMAC_MD5=y
> 

This is really a problem with the tests.  The tests use sctp.h from the 
lksctp-tools,
which may not match the implementation in the kernel.  As a result, some things
the test try use may not be supported by the running kernel and return error.

In this example, 2.6.18 kernel does not support AUTH extensions.  However, the 
tools
include updates to generic structures that support those extensions since they
were targeted for later kernels.  As a result, you have structure size 
mis-matches
between the kernel and the tests which results in test failures.

You could try and force the tests to use /usr/include/netinet/sctp.h and that
might fix some of the tests, but it may also break some others.

-vlad

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to