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)
commit9ed33805cdf81eadcc6ef54a81a8448e80e19f54
treefab014093c87a41e24744e4fcffbf355800fc384
parentf9094b7603c011d27db7ba109e69881c72fa611d
parent747a713502e1dfdf0e93bc81ee0f5ec7510975e5
Merge branch 'ipvlan-Fix-insufficient-skb-linear-check'

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>