[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1682807958.git.lucien.xin@gmail.com>
Date: Sat, 29 Apr 2023 18:40:45 -0400
From: Xin Long <lucien.xin@...il.com>
To: network dev <netdev@...r.kernel.org>,
tipc-discussion@...ts.sourceforge.net
Cc: davem@...emloft.net, kuba@...nel.org,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Jon Maloy <jmaloy@...hat.com>
Subject: [PATCH net 0/2] tipc: fix the mtu update in link mtu negotiation
This patchset fixes a crash caused by a too small MTU carried in the
activate msg. Note that as such malicious packet does not exist in
the normal env, and the fix won't break any application.
The 1st patch introduces a function to calculate the minimum MTU for
the bearer, and the 2nd patch fixes the crash with this function.
Xin Long (2):
tipc: add tipc_bearer_min_mtu to calculate min mtu
tipc: do not update mtu if msg_max is too small
net/tipc/bearer.c | 13 +++++++++++++
net/tipc/bearer.h | 3 +++
net/tipc/link.c | 7 ++++---
net/tipc/udp_media.c | 5 +++--
4 files changed, 23 insertions(+), 5 deletions(-)
--
2.39.1
Powered by blists - more mailing lists