net: vrf: Remove direct access to skb->data
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 23 Feb 2016 18:10:26 +0000 (10:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 20:34:26 +0000 (15:34 -0500)
commit65c38aa653c14df49e19faad74bd375f36e61c57
treeff42824874036d2293626e8b0f80474fc42f0e3d
parentee50c130c82175eaa0820c96b6d3763928af2241
net: vrf: Remove direct access to skb->data

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>
drivers/net/vrf.c