Re: [PATCH net v2] ipv6: Allow IPv4-mapped address as next-hop

2016-12-05 Thread Erik Nordmark
On 12/5/16 11:52 AM, David Miller wrote: From: Erik Nordmark Date: Sat, 3 Dec 2016 20:57:09 -0800 Made kernel accept IPv6 routes with IPv4-mapped address as next-hop. It is possible to configure IP interfaces with IPv4-mapped addresses, and one can add IPv6 routes for IPv4-mapped

[PATCH net v2] ipv6: Allow IPv4-mapped address as next-hop

2016-12-03 Thread Erik Nordmark
with an IPv4-mapped address as a nexthop/gateway. RFC 4798 (a proposed standard RFC) uses IPv4-mapped addresses as nexthops, thus in order to support that type of address configuration the kernel needs to allow IPv4-mapped addresses as nexthops. Signed-off-by: Erik Nordmark Signed-off-by: Bob

[PATCH net-next v5] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-12-02 Thread Erik Nordmark
probe and is ignored. RFC7527 is enabled by default. Can be disabled by setting both of conf/{all,interface}/enhanced_dad to zero. Signed-off-by: Erik Nordmark Signed-off-by: Bob Gilligan Reviewed-by: Hannes Frederic Sowa --- v2: renamed sysctl and made it default to true, plus minor code review

Re: [PATCH net-next v3] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-12-02 Thread Erik Nordmark
On 12/2/16 9:27 AM, David Miller wrote: From: Erik Nordmark Date: Wed, 30 Nov 2016 15:39:19 -0800 @@ -794,6 +808,17 @@ static void ndisc_recv_ns(struct sk_buff *skb) have_ifp: if (ifp->flags & (IFA_F_TENTATIVE|IFA_F_OPTIMISTIC)) {

[PATCH net-next v4] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-12-01 Thread Erik Nordmark
probe and is ignored. RFC7527 is enabled by default. Can be disabled by setting both of conf/{all,interface}/enhanced_dad to zero. Signed-off-by: Erik Nordmark Signed-off-by: Bob Gilligan Reviewed-by: Hannes Frederic Sowa --- v2: renamed sysctl and made it default to true, plus minor code review

Re: [PATCH net-next v3] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-12-01 Thread Erik Nordmark
On 12/1/16 2:28 PM, Hannes Frederic Sowa wrote: Reviewed-by: Hannes Frederic Sowa Thanks - I'll add that. Also got a warning from the kbuild test robot for route.c which I'll fix. Thanks! @@ -794,6 +808,17 @@ static void ndisc_recv_ns(struct sk_buff *skb) have_ifp: if (if

[PATCH net-next v3] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-11-30 Thread Erik Nordmark
probe and is ignored. RFC7527 is enabled by default. Can be disabled by setting both of conf/{all,interface}/enhanced_dad to zero. Signed-off-by: Erik Nordmark Signed-off-by: Bob Gilligan --- v2: renamed sysctl and made it default to true, plus minor code review fixes v3: respun with later net

[PATCH net] ipv6: Allow IPv4-mapped address as next-hop

2016-11-28 Thread Erik Nordmark
with an IPv4-mapped address as a nexthop/gateway. RFC 4798 (a proposed standard RFC) uses IPv4-mapped addresses as nexthops, thus in order to support that type of address configuration the kernel needs to allow IPv4-mapped addresses as nexthops. Signed-off-by: Erik Nordmark Signed-off-by: Bob

[PATCH net-next v2] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-11-28 Thread Erik Nordmark
probe and is ignored. RFC7527 is enabled by default. Can be disabled by setting both of conf/{all,interface}/enhanced_dad to zero. Signed-off-by: Erik Nordmark Signed-off-by: Bob Gilligan" --- v2: renamed sysctl and made it default to true, plus minor code review fixes Index: net

Re: [PATCH net] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-11-21 Thread Erik Nordmark
On 11/16/16 10:49 PM, Hannes Frederic Sowa wrote: I thought about even removing the sysctl altogether and enable enhanced DAD by default. ;) I am in favor of enabling it by default. But given that there could be broken implementations out there, we should give users a choice and provide. OK, I'

Re: [PATCH net] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-11-15 Thread Erik Nordmark
On 11/16/16 1:00 AM, Hannes Frederic Sowa wrote: On 15.11.2016 08:57, Erik Nordmark wrote: Implemented RFC7527 Enhanced DAD. IPv6 duplicate address detection can fail if there is some temporary loopback of Ethernet frames. RFC7527 solves this by including a random nonce in the NS messages used

[PATCH net] ipv6 addrconf: Implemented enhanced DAD (RFC7527)

2016-11-15 Thread Erik Nordmark
probe and is ignored. RFC7527 is disabled by default. Can be enabled by setting either one of conf/{all,interface}/ipv6_rfc7527 to non-zero. Signed-off-by: Erik Nordmark Index: linux-stable/Documentation/networking/ip-sysctl.txt