Herbert Xu cbb042f9e1 [NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum
We're now starting to have quite a number of places that do skb_pull
followed immediately by an skb_postpull_rcsum.  We can merge these two
operations into one function with skb_pull_rcsum.  This makes sense
since most pull operations on receive skb's need to update the
checksum.

I've decided to make this out-of-line since it is fairly big and the
fast path where hardware checksums are enabled need to call
csum_partial anyway.

Since this is a brand new function we get to add an extra check on the
len argument.  As it is most callers of skb_pull ignore its return
value which essentially means that there is no check on the len
argument.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 22:43:56 -08:00
..
2006-02-13 15:53:41 -08:00
2006-03-03 22:22:45 -05:00
2006-03-16 19:27:08 -05:00
2006-03-20 22:32:28 -08:00
2006-02-09 14:17:05 -05:00
2006-03-20 22:33:41 -08:00
2006-03-03 22:22:45 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-02-27 20:12:23 -05:00
2006-03-11 13:35:31 -05:00
2006-03-03 22:22:45 -05:00
2006-03-03 21:33:57 -05:00
2006-03-20 22:23:58 -08:00
2006-03-03 21:33:57 -05:00
2006-03-20 17:55:25 -08:00
2006-03-20 17:55:25 -08:00
2006-03-20 22:34:09 -08:00
2006-03-20 22:34:09 -08:00
2006-03-03 21:33:57 -05:00
2006-03-11 13:35:31 -05:00
2006-03-16 19:27:08 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-02-07 02:04:33 -05:00
2006-02-07 02:04:33 -05:00
2006-03-03 21:33:57 -05:00
2006-02-09 14:17:05 -05:00
2006-03-11 20:32:17 -05:00
2006-03-04 12:14:56 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 22:22:45 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-04 12:07:07 -05:00
2006-03-02 14:26:30 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-03-03 21:33:57 -05:00
2006-02-23 23:07:08 +01:00
2006-02-23 23:07:08 +01:00
2006-03-09 23:19:03 +01:00
2006-02-28 18:06:25 -05:00
2006-03-03 22:22:45 -05:00
2006-03-03 22:22:45 -05:00
2006-03-20 22:34:25 -08:00
2006-03-20 22:34:25 -08:00
2006-03-20 22:29:32 -08:00
2006-03-11 18:49:13 -08:00
2006-03-03 21:33:57 -05:00