[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130829.155946.2289111569129635752.davem@davemloft.net>
Date: Thu, 29 Aug 2013 15:59:46 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: chris.clark@...atel-lucent.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: sendto/hdrincl: don't use destination address
found in header
From: Chris Clark <chris.clark@...atel-lucent.com>
Date: Tue, 27 Aug 2013 12:02:15 -0600 (MDT)
>
> ipv4: raw_sendmsg: don't use header's destination address
>
> A sendto() regression was bisected and found to start with commit
> f8126f1d5136be1 (ipv4: Adjust semantics of rt->rt_gateway.)
>
> The problem is that it tries to ARP-lookup the constructed packet's
> destination address rather than the explicitly provided address.
>
> Fix this using FLOWI_FLAG_KNOWN_NH so that given nexthop is used.
>
> cf. commit 2ad5b9e4bd314fc685086b99e90e5de3bc59e26b
>
> Reported-by: Chris Clark <chris.clark@...atel-lucent.com>
> Bisected-by: Chris Clark <chris.clark@...atel-lucent.com>
> Tested-by: Chris Clark <chris.clark@...atel-lucent.com>
> Suggested-by: Julian Anastasov <ja@....bg>
> Signed-off-by: Chris Clark <chris.clark@...atel-lucent.com>
Applied and queued up for -stable, thanks.
--
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