s/incompatiable/incompatible

Still acked
///jon

On 11/27/20 10:14 AM, Jon Maloy wrote:


On 11/27/20 12:01 AM, Hoang Huu Le wrote:
From: Hoang Le <[email protected]>

In commit 682cd3cf946b6
("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: 682cd3cf946b6 ("tipc: confgiure and apply UDP bearer MTU on running links")
Signed-off-by: Hoang Le <[email protected]>
---
  net/tipc/node.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/net/tipc/node.c b/net/tipc/node.c
index cd67b7d5169f..9f6975dd7873 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -2182,6 +2182,8 @@ void tipc_node_apply_property(struct net *net, struct tipc_bearer *b,
              else if (prop == TIPC_NLA_PROP_MTU)
                  tipc_link_set_mtu(e->link, b->mtu);
          }
+        /* Update MTU for node link entry */
+        e->mtu = tipc_link_mss(e->link);
          tipc_node_write_unlock(n);
          tipc_bearer_xmit(net, bearer_id, &xmitq, &e->maddr, NULL);
      }
Acked-by: Jon Maloy <[email protected]>



_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion




_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to