YOSHIFUJI Hideaki / 吉藤英明 7bdc1b4aba ndisc: Fix padding error in link-layer address option.
If a natural number n exists where 2 + data_len <= 8n < 2 + data_len + pad,
post padding is not initialized correctly.

(Un)fortunately, the only type that requires pad is Infiniband,
whose pad is 2 and data_len is 20, and this logical error has not
become obvious, but it is better to fix.

Note that ndisc_opt_addr_space() handles the situation described
above correctly.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-13 12:58:11 -05:00
..
2012-11-01 12:41:35 -04:00
2012-08-31 16:27:48 -04:00
2012-11-03 14:59:05 -04:00
2012-07-30 14:53:21 -07:00
2012-12-04 13:27:24 -05:00
2012-08-14 14:28:32 -07:00
2012-09-25 16:04:44 -04:00
2012-08-14 14:45:07 -07:00
2012-11-01 12:41:35 -04:00
2012-11-22 15:30:14 -05:00
2012-11-01 12:41:35 -04:00