[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170706.114020.1164331043260731183.davem@davemloft.net>
Date: Thu, 06 Jul 2017 11:40:20 +0100 (WEST)
From: David Miller <davem@...emloft.net>
To: lizheng043@...il.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
vyasevich@...il.com, nhorman@...driver.com,
linux-sctp@...r.kernel.org, jmorris@...ei.org,
james.z.li@...csson.com, allen.y.zhao@...csson.com,
feng.qiu@...csson.com
Subject: Re: [PATCH] sctp: set the value of flowi6_oif to sk_bound_dev_if
to make sctp_v6_get_dst to find the correct route entry.
From: Zheng Li <lizheng043@...il.com>
Date: Thu, 6 Jul 2017 15:00:09 +0800
> From: Zheng Li <james.z.li@...csson.com>
>
> if there are several same route entries with different outgoing net device,
> application's socket specifies the oif through setsockopt with
> SO_BINDTODEVICE, sctpv6 should choose the route entry whose outgoing net
> device is the oif which was specified by socket, set the value of
> flowi6_oif to sk->sk_bound_dev_if to make sctp_v6_get_dst to find the
> correct route entry.
>
> Signed-off-by: Zheng Li <james.z.li@...csson.com>
Applied, thanks.
Powered by blists - more mailing lists