android_kernel_xiaomi_sm8350/net/decnet
Herbert Xu 364c6badde [NET]: Clean up skb_linearize
The linearisation operation doesn't need to be super-optimised.  So we can
replace __skb_linearize with __pskb_pull_tail which does the same thing but
is more general.

Also, most users of skb_linearize end up testing whether the skb is linear
or not so it helps to make skb_linearize do just that.

Some callers of skb_linearize also use it to copy cloned data, so it's
useful to have a new function skb_linearize_cow to copy the data if it's
either non-linear or cloned.

Last but not least, I've removed the gfp argument since nobody uses it
anymore.  If it's ever needed we can easily add it back.

Misc bugs fixed by this patch:

* via-velocity error handling (also, no SG => no frags)

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-17 21:30:16 -07:00
..
netfilter
af_decnet.c
dn_dev.c [DECNET]: Fix refcount 2006-03-29 13:57:31 -08:00
dn_fib.c
dn_neigh.c [DECNET]: Fix level1 router hello 2006-05-03 23:36:23 -07:00
dn_nsp_in.c [NET]: Clean up skb_linearize 2006-06-17 21:30:16 -07:00
dn_nsp_out.c
dn_route.c [NET]: Clean up skb_linearize 2006-06-17 21:30:16 -07:00
dn_rules.c
dn_table.c
dn_timer.c
Kconfig
Makefile
README
sysctl_net_decnet.c
TODO

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>