net: vrf: Remove direct access to skb->data
authorDavid Ahern <[email protected]>
Tue, 23 Feb 2016 18:10:26 +0000 (10:10 -0800)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/vrf.c