]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net: vrf: Remove direct access to skb->data
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 23 Feb 2016 18:10:26 +0000 (10:10 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Apr 2016 13:20:24 +0000 (07:20 -0600)
commit48039e41685981e507a8d501191feeeb7632ec70
tree8143444ede04b0c80e48de57c1ff9f99e3bf5a97
parent42104d6bd2266abff7159c300f6de11fd3a7fd0b
net: vrf: Remove direct access to skb->data

BugLink: http://bugs.launchpad.net/bugs/1573034
[ Upstream commit 65c38aa653c14df49e19faad74bd375f36e61c57 ]

Nik pointed that the VRF driver should be using skb_header_pointer
instead of accessing skb->data and bits beyond directly which can
be garbage.

Fixes: 35402e313663 ("net: Add IPv6 support to VRF device")
Cc: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/vrf.c