]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd40efd223bf8cbeab96d2fd172cb19b3900259c5
treefab014093c87a41e24744e4fcffbf355800fc384
parent00952ec44fc42373b6cb200a516de4ae0d924fb6
parentd17e65e4c4b035f0f752dbc312910eae07ce00bc
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>