Re: [PATCH net] ipv6: make DAD fail with enhanced DAD when nonce length differs

2018-07-16 Thread David Miller
From: Sabrina Dubroca Date: Fri, 13 Jul 2018 17:21:42 +0200 > Commit adc176c54722 ("ipv6 addrconf: Implemented enhanced DAD (RFC7527)") > added enhanced DAD with a nonce length of 6 bytes. However, RFC7527 > doesn't specify the length of the nonce, other than being 6 + 8*k bytes, > with integer k

[PATCH net] ipv6: make DAD fail with enhanced DAD when nonce length differs

2018-07-13 Thread Sabrina Dubroca
Commit adc176c54722 ("ipv6 addrconf: Implemented enhanced DAD (RFC7527)") added enhanced DAD with a nonce length of 6 bytes. However, RFC7527 doesn't specify the length of the nonce, other than being 6 + 8*k bytes, with integer k >= 0 (RFC3971 5.3.2). The current implementation simply assumes that