[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49a723db-1698-761d-7c20-49797ed87cd1@gmail.com>
Date: Fri, 10 Jan 2020 14:48:03 -0700
From: David Ahern <dsahern@...il.com>
To: Hangbin Liu <liuhangbin@...il.com>, netdev@...r.kernel.org
Cc: Jakub Kicinski <jakub.kicinski@...ronome.com>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH net] net/route: remove ip route rtm_src_len, rtm_dst_len
valid check
On 1/10/20 1:24 AM, Hangbin Liu wrote:
> In patch set e266afa9c7af ("Merge branch
> 'net-use-strict-checks-in-doit-handlers'") we added a check for
> rtm_src_len, rtm_dst_len, which will cause cmds like
> "ip route get 192.0.2.0/24" failed.
kernel does not handle route gets for a range. Any output is specific to
the prefix (192.0.2.0 in your example) so it seems to me the /24 request
should fail.
Powered by blists - more mailing lists