]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix uninitialized value for broadcast retransmission
authorHoang Le <hoang.h.le@dektech.com.au>
Wed, 19 Dec 2018 04:42:19 +0000 (11:42 +0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 19:53:10 +0000 (11:53 -0800)
commit01df4dc4ca134d4f956ed739e22e6a5a5c1420bb
tree5a28b99e61dc0a2d4d7a2b7dec9f79124ce189da
parent6f7651cc763d4d14c3c0850d5c49ac37cbfa8a75
tipc: fix uninitialized value for broadcast retransmission

When sending broadcast message on high load system, there are a lot of
unnecessary packets restranmission. That issue was caused by missing in
initial criteria for retransmission.

To prevent this happen, just initialize this criteria for retransmission
in next 10 milliseconds.

Fixes: 1bb543e2adda ("tipc: improve broadcast retransmission algorithm")
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c