commit | bec3cfdca36bf43cfa3751ad7b56db1a307e0760 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 03 20:59:19 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 06 00:37:30 2014 -0400 |
tree | d9c2d8352b0cc41d43dc23b7a7eafdac6758aeb3 | |
parent | 45d9cc7c609680e921060d3eb4e399043eb5e4be [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>