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-10-12 09:59:23 +09:00
2012-11-30 12:07:27 -05:00
2012-08-14 21:48:06 -07:00
2012-12-02 00:05:20 +00:00
2012-08-14 21:49:42 -07:00
2012-11-30 10:50:22 +01:00
2012-12-03 13:46:03 -05:00
2012-12-12 13:02:30 -05:00
2012-12-09 00:34:02 -05:00
2012-11-29 12:51:17 -05:00
2012-10-29 08:49:25 -07:00
2012-12-12 18:07:07 -08:00
2012-12-10 14:09:01 -05:00
2012-11-03 14:45:00 -04:00
2012-11-18 20:32:44 -05:00
2012-10-14 13:39:34 -07:00
2012-11-26 17:10:44 -05:00
2012-11-30 12:19:24 -05:00
2012-12-12 18:07:07 -08:00
2012-12-13 12:58:11 -05:00
2012-08-14 21:48:06 -07:00
2012-12-11 14:08:47 -08:00
2012-11-18 20:32:45 -05:00
2012-11-10 18:32:51 -05:00
2012-11-18 20:32:45 -05:00
2012-12-11 16:24:55 -05:00
2012-11-30 12:19:24 -05:00
2012-12-11 12:49:53 -05:00
2012-10-02 13:38:27 -07:00
2012-11-18 20:32:45 -05:00
2012-09-21 13:58:08 -04:00
2012-12-13 12:58:10 -05:00
2012-11-28 14:04:34 -08:00
2012-11-18 20:32:45 -05:00
2012-11-18 20:32:44 -05:00
2012-11-19 18:59:44 -05:00
2012-12-06 15:04:55 -05:00
2012-10-14 13:39:34 -07:00
2012-12-12 18:07:07 -08:00
2012-12-07 14:15:04 -05:00
2012-11-01 11:50:53 -04:00
2012-12-07 17:23:24 -05:00
2012-11-18 20:30:55 -05:00
2012-12-11 16:04:03 -05:00
2012-11-22 15:25:55 -05:00
2012-09-26 21:10:25 -04:00
2012-09-04 14:20:14 -04:00
2012-11-18 02:34:00 -05:00
2012-10-26 03:40:51 -04:00
2012-11-18 20:32:45 -05:00