[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071023.202604.71091476.davem@davemloft.net>
Date: Tue, 23 Oct 2007 20:26:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vladislav.yasevich@...com
Cc: netdev@...r.kernel.org, dlstevens@...ibm.com
Subject: Re: [PATCH] UDP: Make use of inet_iif() when doing socket lookups.
From: Vlad Yasevich <vladislav.yasevich@...com>
Date: Tue, 23 Oct 2007 14:40:58 -0400
> UDP currently uses skb->dev->ifindex which may provide the wrong
> information when the socket bound to a specific interface.
> This patch makes inet_iif() accessible to UDP and makes UDP use it.
>
> The scenario we are trying to fix is when a client is running on
> the same system and the server and both client and server bind to
> a non-loopback device.
>
> Signed-off-by: Vlad Yasevich <vladislav.yasevich@...com>
David, could you take a quick look at this one?
I have a hunch that this will have side-effects for multicast
applications and I'd feel better if you went over this patch
with that in mind.
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