android_kernel_motorola_sm6225/net/8021q
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
..
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlan.c [VLAN]: translate IF_OPER_DORMANT to netif_dormant_on() 2006-03-20 17:11:41 -08:00
vlan.h [NET]: Kill skb->real_dev 2005-08-29 15:32:25 -07:00
vlan_dev.c [NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum 2006-03-20 22:43:56 -08:00
vlanproc.c [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
vlanproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00