diff options
author | Li Zhou <li.zhou@windriver.com> | 2019-09-02 13:42:46 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-02 12:52:45 -0700 |
commit | a7c19fc9a45b5a1f4d9a91f14184eb7d51b03800 (patch) | |
tree | e39e493f342ce58b61885dd86234bb93a346556e /meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb | |
parent | dc66ca8495eb051e1e6de5333e36f7f8054094a1 (diff) | |
download | meta-openembedded-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-devtools/yajl/yajl_1.0.12.bb')
0 files changed, 0 insertions, 0 deletions