From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarek Poplawski Subject: Re: [PATCH] net: release dst entry in dev_hard_start_xmit() Date: Tue, 12 May 2009 22:05:15 +0200 Message-ID: <20090512200515.GB2757@ami.dom.local> References: <49C380A6.4000904@cosmosbay.com> <4A092F59.7020900@cosmosbay.com> <4A093178.9020105@cosmosbay.com> <20090512192748.GA2757@ami.dom.local> <4A09D1B4.7070509@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "David S. Miller" , Linux Netdev List , Patrick McHardy To: Eric Dumazet Return-path: Received: from mail-fx0-f158.google.com ([209.85.220.158]:58819 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbZELUHJ (ORCPT ); Tue, 12 May 2009 16:07:09 -0400 Received: by fxm2 with SMTP id 2so206659fxm.37 for ; Tue, 12 May 2009 13:07:08 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4A09D1B4.7070509@cosmosbay.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, May 12, 2009 at 09:44:52PM +0200, Eric Dumazet wrote: > Jarek Poplawski a =E9crit : > > On Tue, May 12, 2009 at 10:21:12AM +0200, Eric Dumazet wrote: > >> Eric Dumazet a =E9crit : > > ... > >>> List of devices that must clear this flag is : > >>> > >>> - loopback device, because it calls netif_rx() and quoting Patric= k : > >>> "ip_route_input() doesn't accept loopback addresses, so loopb= ack packets > >>> already need to have a dst_entry attached." > >>> - appletalk/ipddp.c : needs skb->dst in its xmit function > >>> > >>> - And all devices that call again dev_queue_xmit() from their xmi= t function > >>> (as some classifiers need skb->dst) : bonding, macvlan, eql, ifb,= hdlc_fr > >=20 > > Why not vlan (and/or maybe others in net/ using dev_queue_xmit)? > >=20 >=20 > Yes I spoted vlan earlier this afternoon. >=20 > For other net/*, I didnt not find candidates yet. Hmm..., if vlan, then why not pppoe (and/or maybe others in drivers/net= / using dev_queue_xmit)? Jarek P.