From 8797168fe2f4fd32d241126181ad0d06c62c4eb4 Mon Sep 17 00:00:00 2001 From: Marco Varlese Date: Thu, 4 Oct 2018 15:46:05 +0200 Subject: SCTP: DATA chunk padding fix and hardening According to the RFC 4096 (section 3.3.1) the DATA chunk needs to be padded to a boundary of 4 bytes with zeros. This patch addresses that requirement. At the same time, this patch takes care of adding some hardening for corner-cases where the transmitted tag could be wrong. Change-Id: I3b653926e9933d0d3d46bc5f37eaceefd932e874 Signed-off-by: Marco Varlese --- test/test_sctp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_sctp.py b/test/test_sctp.py index 4d04aa06828..e4f0bd97416 100644 --- a/test/test_sctp.py +++ b/test/test_sctp.py @@ -72,6 +72,7 @@ class TestSCTP(VppTestCase): " appns 1" + " fifo-size 4" + " no-output test-bytes syn-timeout 3" + + " test-timeout 30" + " uri " + uri) if error: self.logger.critical(error) -- cgit 1.2.3-korg