]> 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)
commit40e10a7e438fb64f328c8c78be20a5f74797f478
treefab014093c87a41e24744e4fcffbf355800fc384
parent470f137ec9f5ffa52a8b962e732d36be04b4507a
parent806dfdb0ebb4c8612f1af267fec63c15087d1b65
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>