From: YOSHIFUJI Hideaki / 吉藤英明 Date: Thu, 13 Dec 2012 04:29:36 +0000 (+0000) Subject: ndisc: Fix padding error in link-layer address option. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bdc1b4abab3af0a803300f706c9814ef4e20a3e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed