[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121213.130145.1818787055621467467.davem@davemloft.net>
Date: Thu, 13 Dec 2012 13:01:45 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: yoshfuji@...ux-ipv6.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ndisc: Fix padding error in link-layer address option.
From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Date: Thu, 13 Dec 2012 23:29:36 +0900
> 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@...ux-ipv6.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists