[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170201.123102.237978601616140108.davem@davemloft.net>
Date: Wed, 01 Feb 2017 12:31:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: edumazet@...gle.com, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 1 Feb 2017 11:46:32 +0300
> Casting is a high precedence operation but "off" and "i" are in terms of
> bytes so we need to have some parenthesis here.
>
> Fixes: fbfa743a9d2a ("ipv6: fix ip6_tnl_parse_tlv_enc_lim()")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
Powered by blists - more mailing lists