[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130114.234807.263597221162955409.davem@davemloft.net>
Date: Mon, 14 Jan 2013 23:48:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: harvey.huawei.yang@...il.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] net: ipv4: refine the logic for determining daddr
in ip_queue_xmit.
From: Harvey Yang <harvey.huawei.yang@...il.com>
Date: Tue, 15 Jan 2013 12:47:35 +0800
> The destination address daddr is faddr if source route option is set, otherwise it is inet_daddr. So use if-else to assign the value.
>
> Signed-off-by: Harvey Yang <harvey.huawei.yang@...il.com>
You are changing nothing in how this code behaves. And stylistically
I know it was coded this way on purpose, because I'm pretty sure I
wrote it.
--
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