Revision 7cd636fe9ce5de0051c11283911baca4291868c8 authored by YOSHIFUJI Hideaki on 14 April 2008, 06:33:52 UTC, committed by David S. Miller on 14 April 2008, 06:33:52 UTC
struct ipv6_opt_hdr is the common structure for IPv6 extension
headers, and it is common to increment the pointer to get
the real content.  On the other hand, since the structure
consists only of 1-byte next-header field and 1-byte length
field, size of that structure depends on architecture; 2 or 4.
Add "packed" attribute to get 2.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b45e918
History
File Mode Size
locking
Kconfig -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 426 bytes
acl.c -rw-r--r-- 6.1 KB
acl.h -rw-r--r-- 1.3 KB
bmap.c -rw-r--r-- 29.1 KB
bmap.h -rw-r--r-- 1.1 KB
daemon.c -rw-r--r-- 3.1 KB
daemon.h -rw-r--r-- 510 bytes
dir.c -rw-r--r-- 47.6 KB
dir.h -rw-r--r-- 2.1 KB
eaops.c -rw-r--r-- 3.8 KB
eaops.h -rw-r--r-- 921 bytes
eattr.c -rw-r--r-- 31.6 KB
eattr.h -rw-r--r-- 3.1 KB
gfs2.h -rw-r--r-- 560 bytes
glock.c -rw-r--r-- 50.4 KB
glock.h -rw-r--r-- 4.1 KB
glops.c -rw-r--r-- 9.0 KB
glops.h -rw-r--r-- 981 bytes
incore.h -rw-r--r-- 15.6 KB
inode.c -rw-r--r-- 33.9 KB
inode.h -rw-r--r-- 3.0 KB
lm.c -rw-r--r-- 5.6 KB
lm.h -rw-r--r-- 1.7 KB
locking.c -rw-r--r-- 4.3 KB
log.c -rw-r--r-- 21.9 KB
log.h -rw-r--r-- 1.9 KB
lops.c -rw-r--r-- 19.0 KB
lops.h -rw-r--r-- 3.1 KB
main.c -rw-r--r-- 3.2 KB
meta_io.c -rw-r--r-- 10.0 KB
meta_io.h -rw-r--r-- 2.3 KB
mount.c -rw-r--r-- 5.8 KB
mount.h -rw-r--r-- 508 bytes
ops_address.c -rw-r--r-- 28.7 KB
ops_address.h -rw-r--r-- 767 bytes
ops_dentry.c -rw-r--r-- 2.4 KB
ops_dentry.h -rw-r--r-- 503 bytes
ops_export.c -rw-r--r-- 6.6 KB
ops_file.c -rw-r--r-- 18.6 KB
ops_fstype.c -rw-r--r-- 23.2 KB
ops_fstype.h -rw-r--r-- 605 bytes
ops_inode.c -rw-r--r-- 27.1 KB
ops_inode.h -rw-r--r-- 942 bytes
ops_super.c -rw-r--r-- 11.8 KB
ops_super.h -rw-r--r-- 506 bytes
quota.c -rw-r--r-- 28.6 KB
quota.h -rw-r--r-- 1.1 KB
recovery.c -rw-r--r-- 13.3 KB
recovery.h -rw-r--r-- 1.1 KB
rgrp.c -rw-r--r-- 41.4 KB
rgrp.h -rw-r--r-- 2.3 KB
super.c -rw-r--r-- 23.6 KB
super.h -rw-r--r-- 1.8 KB
sys.c -rw-r--r-- 14.8 KB
sys.h -rw-r--r-- 738 bytes
trans.c -rw-r--r-- 4.2 KB
trans.h -rw-r--r-- 1.1 KB
util.c -rw-r--r-- 6.8 KB
util.h -rw-r--r-- 4.8 KB

back to top