[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120124.181639.2228224485434148573.davem@davemloft.net>
Date: Tue, 24 Jan 2012 18:16:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: Remove bogus checks of rt_gateway being zero.
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 25 Jan 2012 00:15:46 +0100
>> @@ -454,8 +454,6 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev)
>> dev->stats.tx_fifo_errors++;
>> goto tx_error;
>> }
>> - if ((dst = rt->rt_gateway) == 0)
>> - goto tx_error_icmp;
>> }
>>
>> rt = ip_route_output_ports(dev_net(dev), &fl4, NULL,
>
> Hmm...
>
> So dst wont be initialized ?
Grrr, good catch, I'll fix this, thanks Eric.
--
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