From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: problem of "ipv4: revert Set rt->rt_iif more sanely on output routes." Date: Wed, 06 Apr 2011 22:34:00 -0700 (PDT) Message-ID: <20110406.223400.71127145.davem@davemloft.net> References: <87oc4kj1bt.fsf@devron.myhome.or.jp> <20110406.132829.116375350.davem@davemloft.net> <87ipuqsmwl.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: hirofumi@mail.parknet.co.jp Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:47451 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390Ab1DGFeh (ORCPT ); Thu, 7 Apr 2011 01:34:37 -0400 In-Reply-To: <87ipuqsmwl.fsf@devron.myhome.or.jp> Sender: netdev-owner@vger.kernel.org List-ID: From: OGAWA Hirofumi Date: Thu, 07 Apr 2011 13:31:06 +0900 > I'm not pretty sure though, output message is > > ip_finish_output2: No header cache and no neighbour! > > I'm not debugging this though, > > static inline bool rt_is_output_route(struct rtable *rt) > { > return rt->rt_iif == 0; > } > > from review I guess the above is one of cause. arp_bind_neighbour() is only called if rt_is_output_route() is true or route is unicast. If packet is sent using a route for which arp_bind_neighbour() has not been called, you will see that warning message.