[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7OgTOCASmT03H37KKobb6m0hs3amF7GNWLy=JRLW+2dew@mail.gmail.com>
Date: Tue, 8 Jul 2014 11:49:02 -0700
From: Cong Wang <cwang@...pensource.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>
Subject: Re: [PATCH] return the right retcode when add a unreachable route
On Sun, Jul 6, 2014 at 4:01 AM, Xin Long <lucien.xin@...il.com> wrote:
> when add a route like this:
> ip route add 74.125.31.199 dev eth0 via 1.2.3.4 ,
> 1.2.3.4 is a unreachable ip, it return -ENETUNREACH, it is ok.
> but before that I add a rule:
> ip rule add fwmark 1 lookup 101 ,
> then add that route , it will return -ESRCH.
>
This would potentially break user-space applications.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists