Re: Fix ndp -p unaligned access (kernel and userland)

2015-08-22 Thread Martin Pieuchot
On 20/08/15(Thu) 17:48, Christian Weisgerber wrote: > Currently, ndp -p will trigger unaligned accesses in the kernel and > userland on architectures that require strict alignment for 64-bit > types (e.g. sparc64). > > This is actually fallout from the time_t change. > > The sysctl used to pass t

Fix ndp -p unaligned access (kernel and userland)

2015-08-20 Thread Christian Weisgerber
Currently, ndp -p will trigger unaligned accesses in the kernel and userland on architectures that require strict alignment for 64-bit types (e.g. sparc64). This is actually fallout from the time_t change. The sysctl used to pass the prefix list uses a packed format: one struct in6_prefix, seve