]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tipc: handle broadcast NAME_DISTRIBUTOR packet when receiving it
authorZhenbo Gao <zhenbo.gao@windriver.com>
Tue, 18 Dec 2018 09:43:52 +0000 (17:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 05:50:48 +0000 (21:50 -0800)
commit5679ee784c89793537d233022b55a331a64aed9d
treea2022268b413b1f80d31dea8846066aa101cca98
parent935b8a59ac80bf3d3caae6460fb95d028f7c92c8
tipc: handle broadcast NAME_DISTRIBUTOR packet when receiving it

NAME_DISTRIBUTOR messages are transmitted through unicast link on TIPC
2.0, by contrast, the messages are delivered through broadcast link on
TIPC 1.7. But at present, NAME_DISTRIBUTOR messages received by
broadcast link cannot be handled in tipc_rcv() until an unicast message
arrives, which may lead to a significant delay to update name table.

To avoid this delay, we will also deal with broadcast NAME_DISTRIBUTOR
message on broadcast receive path.

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/node.c