Messages in this thread | | | Date | Sun, 07 Apr 2019 22:49:47 -0700 (PDT) | Subject | Re: [PATCH net v3] net: vrf: Fix ping failed when vrf mtu is set to 0 | From | David Miller <> |
| |
From: David Ahern <dsa@cumulusnetworks.com> Date: Sun, 7 Apr 2019 20:51:05 -0700
> On 4/7/19 7:04 PM, linmiaohe wrote: >> From: Miaohe Lin <linmiaohe@huawei.com> >> >> When the mtu of a vrf device is set to 0, it would cause ping >> failed. So I think we should limit vrf mtu in a reasonable range >> to solve this problem. I set dev->min_mtu to IPV6_MIN_MTU, so it >> will works for both ipv4 and ipv6. And if dev->max_mtu still be 0 >> can be confusing, so I set dev->max_mtu to ETH_MAX_MTU. >> >> Here is the reproduce step: ... >> Fixes: ad49bc6361ca2 ("net: vrf: remove MTU limits for vrf device") >> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> >> --- > > Reviewed-by: David Ahern <dsahern@gmail.com>
Applied and queued up for -stable, thanks.
| |