[SLOF] [PATCH 0/6] net-snk: More IPv6 fixes and improvements
Alexey Kardashevskiy
aik at ozlabs.ru
Thu Jan 14 14:42:06 AEDT 2016
On 01/14/2016 10:10 AM, Thomas Huth wrote:
> Here are some more bug fixes and improvements for the IPv6 code
> in SLOF:
> First patch takes care of getting rid of some junk bytes at the
> end of IPv6 TFTP packets (similar to the problem I recently fixed
> with DHCPv6 packets).
> The next two patches are required that SLOF properly sends IPv6
> with non-link-local unicast addresses (if available), which is
> needed for example if the TFTP server is not on the same link
> as the client.
> The following patches are minor cleanup and finally a patch that
> allows to use stateless address autoconfiguration also when the
> TFTP server address and bootfile name have been specified manually.
>
> Cheers,
> Thomas
>
>
> Thomas Huth (6):
> net-snk: Remove junk at the end of IPv6 TFTP ACK and error packets
> net-snk: Fix the check for link-local addresses when receiving RAs
> net-snk: Prefer non-link-local unicast IPv6 addresses if possible
> net-snk: Move global variable definition out of the header file
> net-snk: Simplify the ip6_is_multicast() function
> net-snk: Allow stateless autoconfig IPv6 addresses with IP_INIT_IPV6_MANUAL
Thanks, applied.
How did you test the 6/6?
And as I understand, SLOF still cannot get through the default route, only
loads an image over tftp if the server is in the same network.
>
> clients/net-snk/app/netapps/netboot.c | 15 +++++++++----
> clients/net-snk/app/netlib/dhcpv6.c | 5 +++++
> clients/net-snk/app/netlib/icmpv6.c | 9 ++++----
> clients/net-snk/app/netlib/ipv6.c | 41 ++++++++++++++++++++++-------------
> clients/net-snk/app/netlib/ipv6.h | 26 ++++++++--------------
> clients/net-snk/app/netlib/ndp.c | 19 ++++++++++++++++
> clients/net-snk/app/netlib/ndp.h | 1 +
> clients/net-snk/app/netlib/tftp.c | 6 ++---
> 8 files changed, 77 insertions(+), 45 deletions(-)
>
--
Alexey
More information about the SLOF
mailing list