summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2007-06-08 01:38:14 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-08 20:33:10 (GMT)
commit50e5d35ce2c4190cead13a091ea1ceab47d29cc2 (patch)
treeae400ba823701f51bd304d85f4e7a28be22c3ac7 /lib
parentba6ff9f2b5c6018b293bd21083ffaa5ad710e671 (diff)
downloadlinux-fsl-qoriq-50e5d35ce2c4190cead13a091ea1ceab47d29cc2.tar.xz
[CIPSO]: Fix several unaligned kernel accesses in the CIPSO engine.
IPv4 options are not very well aligned within the packet and the format of a CIPSO option is even worse. The result is that the CIPSO engine in the kernel does a few unaligned accesses when parsing and validating incoming packets with CIPSO options attached which generate error messages on certain alignment sensitive platforms. This patch fixes this by marking these unaligned accesses with the get_unaliagned() macro. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions