skbuff: Introduce skb_to_sgvec_nomark to map skb without mark new end
authorFan Du <fan.du@windriver.com>
Sat, 18 Jan 2014 01:54:23 +0000 (09:54 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 12 Feb 2014 06:02:09 +0000 (07:02 +0100)
commit25a91d8d91911f84a03a039339b29537e7f1970d
tree637ab9835a01d6e4027dc16fbcda3089f4ff8a92
parent738b52bb9845da183b6ff46a8f685b56a63379d1
skbuff: Introduce skb_to_sgvec_nomark to map skb without mark new end

As compared with skb_to_sgvec, skb_to_sgvec_nomark only map skb to given sglist
without mark the sg which contain last skb data as the end. So the caller can
mannipulate sg list as will when padding new data after the first call without
calling sg_unmark_end to expend sg list.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/linux/skbuff.h
net/core/skbuff.c