Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752758AbbHJLuL (ORCPT ); Mon, 10 Aug 2015 07:50:11 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35302 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626AbbHJLuI (ORCPT ); Mon, 10 Aug 2015 07:50:08 -0400 X-Sasl-enc: a5ZzdcWXH3T5WHieyiwG2g1cKYeP9Vy4z44QhJWjMZzF 1439207407 From: Hannes Frederic Sowa To: Zang MingJie Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] net/ipv4: inconsistent routing table In-Reply-To: References: <55C1D207.3040905@iogearbox.net> <55C24BAE.7090702@gmail.com> <55C3B8C8.9030507@redhat.com> <55C4D803.3090108@redhat.com> <878u9njaon.fsf@stressinduktion.org> <878u9jijuc.fsf@stressinduktion.org> User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu) Date: Mon, 10 Aug 2015 13:50:06 +0200 Message-ID: <87y4hjgy6p.fsf@stressinduktion.org> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 37 Hello, Zang MingJie writes: > Here comes several options: > > 1. reject local next hop w/ EINVAL > 2. delete route when local next hop removed Will also cause some people to complain. > 3. transition between RT_SCOPE_HOST amd RT_SCOPE_LINK I don't understand the scope transition. I know Alex mentioned it for the first time. Maybe he can explain? > 4. document it I prefer that one :) > which one should we choose ? > > 1 will definitely cause compatibility problem Agreed. > 2 is the easiest solution Will definietely cause some people to complain. Bye, Hannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/