]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix incompatible mtu of transmission
authorHoang Le <hoang.h.le@dektech.com.au>
Mon, 30 Nov 2020 02:55:44 +0000 (09:55 +0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 23:26:57 +0000 (15:26 -0800)
commit1d6a89e4bd0baf9e35801728b769593dd5817682
tree0d211f4f682bc1bc39956a1e971485d12b1c1f46
parent19d70b21176ae5b2bbd3549508ee80d8ca7a0d04
tipc: fix incompatible mtu of transmission

In commit 8965480c813db
("tipc: confgiure and apply UDP bearer MTU on running links"), we
introduced a function to change UDP bearer MTU and applied this new value
across existing per-link. However, we did not apply this new MTU value at
node level. This lead to packet dropped at link level if its size is
greater than new MTU value.

To fix this issue, we also apply this new MTU value for node level.

Fixes: 8965480c813db ("tipc: confgiure and apply UDP bearer MTU on running links")
Acked-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Link: https://lore.kernel.org/r/20201130025544.3602-1-hoang.h.le@dektech.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tipc/node.c