]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Revert sk_buff walker cleanups.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 27 Apr 2007 22:21:23 +0000 (15:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 27 Apr 2007 22:21:23 +0000 (15:21 -0700)
commit3daf19bda4c30fd3b3c3d2fc9d23a20804403139
treea4ffbf7c5476203e1db51b4bd9d076c69d772697
parentfe969e790bbef79c050350ab28d26d682ed48801
[NET]: Revert sk_buff walker cleanups.

This reverts 7bd1629d2d0527cd2addcf337ee7128b6fb16a14

The simplification made in that change works with the assumption that
the 'offset' parameter to these functions is always positive or zero,
which is not true.  It can be and often is negative in order to access
SKB header values in front of skb->data.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c
net/core/datagram.c
net/core/skbuff.c
net/core/user_dma.c
net/xfrm/xfrm_algo.c