aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2019-09-02 13:42:46 +0800
committerKhem Raj <raj.khem@gmail.com>2019-09-02 12:52:45 -0700
commita7c19fc9a45b5a1f4d9a91f14184eb7d51b03800 (patch)
treee39e493f342ce58b61885dd86234bb93a346556e /meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
parentdc66ca8495eb051e1e6de5333e36f7f8054094a1 (diff)
downloadmeta-openembedded-contrib-a7c19fc9a45b5a1f4d9a91f14184eb7d51b03800.tar.gz
tipcutils: ptts: Set recv buffer size to max to receive as many packets as possible
Flooding multicast may make the rcv buffer overrun and is considered premature messages later and thus cause the following error. "Ignoring premature msg 16, currently handling 12" This patch sets SO_RCVBUF the of socket to max int value to receive as many packets as possible, and give a hint to user when possible overrun occurs. Note that the value of SO_RCVBUF will be limited up to min(INT_MAX/2, sysctl_rmem_max) in kernel. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/tipcutils/tipcutils_git.bb')
-rw-r--r--meta-oe/recipes-extended/tipcutils/tipcutils_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
index 054e0acc88..637770af24 100644
--- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
+++ b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
@@ -6,6 +6,7 @@ SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils \
file://0001-include-sys-select.h-for-FD_-definitions.patch \
file://0002-replace-non-standard-uint-with-unsigned-int.patch \
file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \
+ file://0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch \
"
SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a"
PV = "2.2.0+git${SRCPV}"