Re: [PATCH 1/1] net: ipv4: refine the logic for determining daddrin ip_queue_xmit.

From: David Miller
Date: Mon Jan 14 2013 - 23:47:56 EST


From: Harvey Yang <harvey.huawei.yang@xxxxxxxxx>
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@xxxxxxxxx>

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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/