summaryrefslogtreecommitdiffstats
path: root/include/linux/ip.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:24:30 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:23:26 -0800
commit9981a0e36a572e9fcf84bfab915fdc93bed0e3c9 (patch)
tree3c64dba5b233b97417f3c46135607bfc19e2182f /include/linux/ip.h
parent56649d5d3c4cb0fe6dd34808ca9f9208d84130ab (diff)
downloadlinux-stable-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.tar.gz
linux-stable-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.tar.bz2
linux-stable-9981a0e36a572e9fcf84bfab915fdc93bed0e3c9.zip
[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>
Diffstat (limited to 'include/linux/ip.h')
-rw-r--r--include/linux/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ip.h b/include/linux/ip.h
index ecee9bb27d0e..1d36b971a8b5 100644
--- a/include/linux/ip.h
+++ b/include/linux/ip.h
@@ -98,7 +98,7 @@ struct iphdr {
__be16 frag_off;
__u8 ttl;
__u8 protocol;
- __be16 check;
+ __sum16 check;
__be32 saddr;
__be32 daddr;
/*The options start here. */