[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)
commit1a028e50729b85d0a038fad13daf0ee201a37454
treea4ffbf7c5476203e1db51b4bd9d076c69d772697
parent50f732ee63b91eb08a29974b36bd63e1150bb642
[NET]: Revert sk_buff walker cleanups.

This reverts eefa3906283a2b60a6d02a2cda593a7d7d7946c5

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