Arnaldo Carvalho de Melo
58a5a7b955
[NET]: Conditionally use bh_lock_sock_nested in sk_receive_skb
...
Spotted by Ian McDonald, tentatively fixed by Gerrit Renker:
http://www.mail-archive.com/dccp%40vger.kernel.org/msg00599.html
Rewritten not to unroll sk_receive_skb, in the common case, i.e. no lock
debugging, its optimized away.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com >
2006-12-02 21:23:51 -08:00
David S. Miller
6bb100b9fc
[UDPLite]: udplite.h needs ip6_checksum.h
...
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:48 -08:00
Al Viro
1f61ab5ca5
[NET]: Preliminaty annotation of skb->csum.
...
It's still not completely right; we need to split it into anon unions
of __wsum and unsigned - for cases when we use it for partial checksum
and for offset of checksum in skb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:44 -08:00
Al Viro
43bc0ca7ea
[NET]: netfilter checksum annotations
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:42 -08:00
Al Viro
f9214b2627
[NET]: ipvs checksum annotations.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:41 -08:00
Al Viro
5c78f275e6
[NET]: IP header modifier helpers annotations.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:40 -08:00
Al Viro
f6ab028804
[NET]: Make mangling a checksum (0 -> 0xffff on the wire) explicit.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:39 -08:00
Al Viro
b51655b958
[NET]: Annotate __skb_checksum_complete() and friends.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:38 -08:00
Al Viro
b1550f2212
[NET]: Annotate ip_vs_checksum_complete() and callers.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:37 -08:00
Al Viro
81d7766276
[NET]: Annotate skb_copy_and_csum_bits() and callers.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:36 -08:00
Al Viro
2bbbc86890
[NET]: Annotate skb_checksum() and callers.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:35 -08:00
Al Viro
5084205faf
[NET]: Annotate callers of csum_partial_copy_...() and csum_and_copy...() in net/*
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:33 -08:00
Al Viro
44bb93633f
[NET]: Annotate csum_partial() callers in net/*
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:32 -08:00
Al Viro
868c86bcb5
[NET]: annotate csum_ipv6_magic() callers in net/*
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:31 -08:00
Al Viro
6b11687ef0
[NET]: Annotate csum_tcpudp_magic() callers in net/*
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:29 -08:00
Al Viro
d6f5493c1a
[NET]: Annotate callers of csum_tcpudp_nofold() in net/*
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:28 -08:00
Al Viro
9981a0e36a
[NET]: Annotate checksums in on-the-wire packets.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:26 -08:00
Al Viro
56649d5d3c
[NET]: Generic checksum annotations and cleanups.
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:25 -08:00
Al Viro
b8e4e01dd5
[NET]: XTENSA checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill csum_partial_copy_fromuser
* kill csum_partial_copy
* kill useless shifts
* usual ntohs->shift
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:24 -08:00
Al Viro
d5c6393641
[NET]: SPARC64 checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill useless shift
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:23 -08:00
Al Viro
16ec7e168d
[NET]: SPARC checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill bogus access_ok() in csum_partial_copy_from_user (the only caller checks)
* kill useless shift
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:22 -08:00
Al Viro
7c73a746ba
[NET]: SH checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill useless shifts
* usual ntohs->shift
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:22 -08:00
Al Viro
f994aae1bd
[NET]: S390 checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill useless shifts
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:21 -08:00
Al Viro
879178cfbe
[NET]: POWERPC checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* kill useless shifts
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:20 -08:00
Al Viro
72685fcd28
[NET]: I386 checksum annotations and cleanups.
...
* sanitize prototypes, annotate
* usual ntohs->shift
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-12-02 21:23:19 -08:00