]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: do not increment mac header when it's unset
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 21 Oct 2016 09:28:25 +0000 (18:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Oct 2016 21:38:58 +0000 (17:38 -0400)
commit19c9f517b6b306f2d3e4b468891d62cbbc2c9f9f
treec1dd6a3119b327b4cdf94aed4feadee7721d5a79
parent1463e9ca2749fb8f069ca2529b6388022dbf06c6
ipv6: do not increment mac header when it's unset

Otherwise we'll overflow the integer. This occurs when layer 3 tunneled
packets are handed off to the IPv6 layer.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c