linux/drivers/net/ipvlan
Gao Feng 747a713502 ipvlan: Fix insufficient skb linear check for ipv6 icmp
In the function ipvlan_get_L3_hdr, current codes use pskb_may_pull to
make sure the skb header has enough linear room for ipv6 header. But it
would use the latter memory directly without linear check when it is icmp.
So it still may access the unepxected memory in ipvlan_addr_lookup.

Now invoke the pskb_may_pull again if it is ipv6 icmp.

Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-24 03:37:02 +09:00
..
ipvlan_core.c ipvlan: Fix insufficient skb linear check for ipv6 icmp 2017-11-24 03:37:02 +09:00
ipvlan_main.c ipvlan: NULL pointer dereference panic in ipvlan_port_destroy 2017-11-18 10:37:00 +09:00
ipvlan.h ipvlan: implement VEPA mode 2017-10-29 18:39:57 +09:00
ipvtap.c tap: reference to KVA of an unloaded module causes kernel panic 2017-10-28 19:17:21 +09:00
Makefile ipvtap: IP-VLAN based tap driver 2017-02-11 20:59:41 -05:00