Re: [PATCH v6] net: ipv4: Cache pmtu for all packet paths if multipath enabled

2024-11-04 Thread Vladimir Vdovin
On Sun Nov 3, 2024 at 4:05 PM MSK, Ido Schimmel wrote: > Subject prefix should be "[PATCH net-next v6]" (v7 for next version, > obviously) > > On Sat, Nov 02, 2024 at 04:29:35PM +, Vladimir Vdovin wrote: > > Check number of paths by fib_info_num_path(), > > and update_or_create_fnhe() for every

Re: [PATCH v6] net: ipv4: Cache pmtu for all packet paths if multipath enabled

2024-11-03 Thread Vladimir Vdovin
Many thanks for your comments! Sent new patch with proper fixes On Sun Nov 3, 2024 at 4:05 PM MSK, Ido Schimmel wrote: > Subject prefix should be "[PATCH net-next v6]" (v7 for next version, > obviously) > > On Sat, Nov 02, 2024 at 04:29:35PM +, Vladimir Vdovin wrote: > > Check number of path

Re: [PATCH v6] net: ipv4: Cache pmtu for all packet paths if multipath enabled

2024-11-03 Thread Ido Schimmel
Subject prefix should be "[PATCH net-next v6]" (v7 for next version, obviously) On Sat, Nov 02, 2024 at 04:29:35PM +, Vladimir Vdovin wrote: > Check number of paths by fib_info_num_path(), > and update_or_create_fnhe() for every path. > Problem is that pmtu is cached only for the oif > that ha

[PATCH v6] net: ipv4: Cache pmtu for all packet paths if multipath enabled

2024-11-02 Thread Vladimir Vdovin
Check number of paths by fib_info_num_path(), and update_or_create_fnhe() for every path. Problem is that pmtu is cached only for the oif that has received icmp message "need to frag", other oifs will still try to use "default" iface mtu. An example topology showing the problem: