Re: Fix wrong interface mtu in tcp_mss

2023-05-21 Thread Alexander Bluhm
On Sat, May 20, 2023 at 02:46:27PM +0200, Claudio Jeker wrote: > On Fri, May 19, 2023 at 07:58:47PM +0200, Jan Klemkow wrote: > > Hi, > > > > We use the wrong interface and mtu in tcp_mss() to calculate the mss if > > the destination address points is a local address. In ip_output() we > > use th

Re: Fix wrong interface mtu in tcp_mss

2023-05-20 Thread Claudio Jeker
On Fri, May 19, 2023 at 07:58:47PM +0200, Jan Klemkow wrote: > Hi, > > We use the wrong interface and mtu in tcp_mss() to calculate the mss if > the destination address points is a local address. In ip_output() we > use the correct interface and its mtu. > > This limits the mss to 1448 if the mt

Fix wrong interface mtu in tcp_mss

2023-05-19 Thread Jan Klemkow
Hi, We use the wrong interface and mtu in tcp_mss() to calculate the mss if the destination address points is a local address. In ip_output() we use the correct interface and its mtu. This limits the mss to 1448 if the mtu of the interface it 1500, instead of using a local 32k mss. The bigger i