summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_icmp.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-10-21 18:28:25 +0900
committerDavid S. Miller <davem@davemloft.net>2016-10-23 17:38:58 -0400
commitb678aa578c9e400429e027269e8de2783e5e73ce (patch)
treec1dd6a3119b327b4cdf94aed4feadee7721d5a79 /net/ipv6/ip6_icmp.c
parenta6e2846cacf97d4c70c5e923325b015cfa1e9053 (diff)
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>
Diffstat (limited to 'net/ipv6/ip6_icmp.c')
0 files changed, 0 insertions, 0 deletions