From: Eric Dumazet Date: Sat, 4 Oct 2014 03:59:19 +0000 (-0700) Subject: net: skb_segment() provides list head and tail X-Git-Tag: omap-for-v3.19/prcm-cleanup~141^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bec3cfdca36bf43cfa3751ad7b56db1a307e0760;p=pandora-kernel.git net: skb_segment() provides list head and tail Its unfortunate we have to walk again skb list to find the tail after segmentation, even if data is probably hot in cpu caches. skb_segment() can store the tail of the list into segs->prev, and validate_xmit_skb_list() can immediately get the tail. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed