[NET]: Preliminaty annotation of skb->csum.
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:44:08 +0000 (21:44 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:44 +0000 (21:23 -0800)
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>
include/linux/skbuff.h

index 41753667541d905ae44515195290b77cfa6fc322..fcab543d79acee998970d35b49ca6023260483fc 100644 (file)
@@ -273,8 +273,8 @@ struct sk_buff {
 
        unsigned int            len,
                                data_len,
-                               mac_len,
-                               csum;
+                               mac_len;
+       __wsum                  csum;
        __u32                   priority;
        __u8                    local_df:1,
                                cloned:1,
This page took 0.033458 seconds and 5 git commands to generate.