[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181015.215812.1251527248600848722.davem@davemloft.net>
Date: Mon, 15 Oct 2018 21:58:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hoang.h.le@...tech.com.au
Cc: jon.maloy@...csson.com, maloy@...jonn.com, ying.xue@...driver.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [net-next] tipc: support binding to specific ip address when
activating UDP bearer
From: Hoang Le <hoang.h.le@...tech.com.au>
Date: Thu, 11 Oct 2018 08:43:08 +0700
> INADDR_ANY is hard-coded when activating UDP bearer. So, we could not
> bind to a specific IP address even with replicast mode using - given
> remote ip address instead of using multicast ip address.
>
> In this commit, we fixed it by checking and switch to use appropriate
> local ip address.
>
> before:
> $netstat -plu
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> udp 0 0 **0.0.0.0:6118** 0.0.0.0:*
>
> after:
> $netstat -plu
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> udp 0 0 **10.0.0.2:6118** 0.0.0.0:*
>
> Acked-by: Ying Xue <ying.xue@...driver.com>
> Acked-by: Jon Maloy <jon.maloy@...csson.com>
> Signed-off-by: Hoang Le <hoang.h.le@...tech.com.au>
Applied.
Powered by blists - more mailing lists