diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 21:35:48 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:23:31 -0800 |
commit | 868c86bcb5bdea7ed8d45979b17bb919af9254db (patch) | |
tree | ebc232092d6a8a75261a9e3f698206cc09740fdf /include/net/udp.h | |
parent | 2bda2853150e20ca2a44627d00b5f85af0b24a42 (diff) | |
download | op-kernel-dev-868c86bcb5bdea7ed8d45979b17bb919af9254db.zip op-kernel-dev-868c86bcb5bdea7ed8d45979b17bb919af9254db.tar.gz |
[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>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 4f06267..39e825a 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -89,9 +89,9 @@ static __inline__ int udp_lib_checksum_complete(struct sk_buff *skb) * @skb: sk_buff containing the filled-in UDP header * (checksum field must be zeroed out) */ -static inline u32 udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) +static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) { - u32 csum = csum_partial(skb->h.raw, sizeof(struct udphdr), 0); + __wsum csum = csum_partial(skb->h.raw, sizeof(struct udphdr), 0); skb_queue_walk(&sk->sk_write_queue, skb) { csum = csum_add(csum, skb->csum); |