]> git.baikalelectronics.ru Git - kernel.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)
commit856b84a8cce3fb4c13b91885dcdd6a8ce923a54e
treeb831144bdbca0d21a40446d40ed33db2d17415a0
parentfe8a19904608088413e2e00bb020aef98e4c0f68
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