]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
net: refactor tcp splice receive path to improve readability
authorOctavian Purdila <opurdila@ixiacom.com>
Tue, 15 Jul 2008 07:49:11 +0000 (00:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 07:49:11 +0000 (00:49 -0700)
commit2870c43d1795bcb40b12bad6456f07ad8e64b3de
treeb831144bdbca0d21a40446d40ed33db2d17415a0
parentb9e40857682ecfc5bcd0356a23ff409883ffb982
net: refactor tcp splice receive path to improve readability

- move all of the details on offsets, lengths and buffers into a
single function instead of doing these operation from multiple places

- use a bottom up approach: try to avoid details in the high level
functions, introduce them gradually as we go deeper in the function
call stack

With helpful feedback from Jarek Poplawski.

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
Acked-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c