]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 20:34:26 +0000 (15:34 -0500)
commit2bb37f8c71beafffd4a3f7a2e2fe590fbaaa72bc
treeff42824874036d2293626e8b0f80474fc42f0e3d
parent99ac92e4a2808a44ea8636bf24a56498c9eef8ce
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: cd662513e003 ("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