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)
- 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>

No differences found