datapath: Backport skb_zerocopy() functions.
authorJesse Gross <jesse@nicira.com>
Wed, 4 Dec 2013 04:41:15 +0000 (20:41 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 17 Dec 2013 01:03:06 +0000 (17:03 -0800)
commitffc117c13919c94b66f0b00841ea3343c8dd47c2
treecc0f2d76bf1cd003db10a6f2c3b53397bc519437
parent316078c7252ebca1e12f07928512955077f4ce5f
datapath: Backport skb_zerocopy() functions.

These functions will be factored out and exported upstream. On
kernels 3.5 and newer the backport will provide zero copy support
but older kernels will work as before (due to lack of skb->head_frag).

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/skbuff.h
datapath/linux/compat/skbuff-openvswitch.c