]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'ipvlan-Fix-insufficient-skb-linear-check'
authorDavid S. Miller <davem@davemloft.net>
Thu, 23 Nov 2017 18:37:03 +0000 (03:37 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Nov 2017 18:37:03 +0000 (03:37 +0900)
Gao Feng says:

====================
ipvlan: Fix insufficient skb linear check

The current ipvlan codes use pskb_may_pull to get the skb linear header in
func ipvlan_get_L3_hdr, but the size isn't enough for arp and ipv6 icmp.
So it may access the unexpected momory in ipvlan_addr_lookup.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge