From: Edward Cree <hidden> Date: 2016-05-06 14:28:35
Since we can only configure unicast, we probably want to be able to
display unicast, rather than multicast.
Fixes: 906ac5437ab8 ("geneve: add support for IPv6 link partners")
Signed-off-by: Edward Cree <redacted>
---
I'm assuming this is what was intended, but tbh I don't know why we
need to check for multicast on the display side at all, rather than
just displaying whatever the kernel gives us.
ip/iplink_geneve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Phil Sutter <phil@nwl.cc> Date: 2016-05-06 14:43:48
On Fri, May 06, 2016 at 03:28:25PM +0100, Edward Cree wrote:
Since we can only configure unicast, we probably want to be able to
display unicast, rather than multicast.
Furthermore, the kernel even rejects multicast peer addresses.
I'm assuming this is what was intended, but tbh I don't know why we
need to check for multicast on the display side at all, rather than
just displaying whatever the kernel gives us.
From: Phil Sutter <phil@nwl.cc> Date: 2016-05-06 15:28:22
On Fri, May 06, 2016 at 04:14:11PM +0100, Edward Cree wrote:
On 06/05/16 15:43, Phil Sutter wrote:
quoted
On Fri, May 06, 2016 at 03:28:25PM +0100, Edward Cree wrote:
quoted
Since we can only configure unicast, we probably want to be able to
display unicast, rather than multicast.
Furthermore, the kernel even rejects multicast peer addresses.
Yes, but a future kernel might not, and iproute2 is meant to be forward-
compatible.
Sorry, but I fail to see how this might break forward compatibility.
Quite the contrary, suppose geneve in future supported multicast peers,
current iproute2 would fail to recognize it's existence. What am I
missing here?
quoted
Why do you then propose a dubious fix to a dubious check instead of
getting rid of it in the first place?
Because John Linville clearly had some reason for putting a check there,
and he probably knows better than me. Chesterton's fence.
A valid point, indeed. In my opinion the same applies to your patch as
well, as instead of removing the fence you're moving it to the other
lane. :)
Cheers, Phil
From: Stephen Hemminger <stephen@networkplumber.org> Date: 2016-05-13 21:43:07
On Fri, 6 May 2016 15:28:25 +0100
Edward Cree [off-list ref] wrote:
Since we can only configure unicast, we probably want to be able to
display unicast, rather than multicast.
Fixes: 906ac5437ab8 ("geneve: add support for IPv6 link partners")
Signed-off-by: Edward Cree <redacted>
---
I'm assuming this is what was intended, but tbh I don't know why we
need to check for multicast on the display side at all, rather than
just displaying whatever the kernel gives us.
ip/iplink_geneve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)