Re: regression: ip r change mss doesn't work in 2.6.38-git14

From: Alessandro Suardi
Date: Thu Mar 24 2011 - 11:52:47 EST


On Thu, Mar 24, 2011 at 4:21 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> Le jeudi 24 mars 2011 à 16:08 +0100, Alessandro Suardi a écrit :
>> After fixing the display issue thanks to Chris Wilson, I now have
>> another problem
>>  (which didn't exist in 2.6.38-git2); most websites outside of my DSL link don't
>>  work properly (connection packet goes through, but the page load times out
>>  within Firefox) unless I do
>>
>> ip r change default via 192.168.1.1 dev eth1 advmss 1400
>>
>> This however doesn't change advmss anymore:
>>
>> [root@duff ~]# ip r
>> default via 192.168.1.1 dev eth1
>> 169.254.0.0/16 dev eth1  scope link  metric 1004
>> 192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.8
>> [root@duff ~]# ip r change default via 192.168.1.1 dev eth1 advmss 1400
>> [root@duff ~]# ip r
>> default via 192.168.1.1 dev eth1
>> 169.254.0.0/16 dev eth1  scope link  metric 1004
>> 192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.8
>
> Indeed, we'll take a look, thanks for the report.
>
> In the time being you can do :
>
> ip ro change default via 192.168.1.1 dev eth1 advmss 1400 mtu 1500

Thanks - this one works for me.

I'm available to test patches if needed, though I have a feeling you
already have a handle on the issue and won't need that ;)

--alessandro

 "There's always a siren singing you to shipwreck"

   (Radiohead, "There There")
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/