]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_conntrack_tcp: fix unaligned memory access in tcp_sack
authorMark H. Weaver <mhw@netris.org>
Mon, 23 Mar 2009 12:46:12 +0000 (13:46 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 23 Mar 2009 12:46:12 +0000 (13:46 +0100)
commit534f81a5068799799e264fd162e9488a129f98d4
tree541efbf72b69d3c834b5aaffdb1b6e462344bf4f
parentd1238d5337e8e53cddea77c2a26d26b6eb5a982f
netfilter: nf_conntrack_tcp: fix unaligned memory access in tcp_sack

This patch fixes an unaligned memory access in tcp_sack while reading
sequence numbers from TCP selective acknowledgement options.  Prior to
applying this patch, upstream linux-2.6.27.20 was occasionally
generating messages like this on my sparc64 system:

  [54678.532071] Kernel unaligned access at TPC[6b17d4] tcp_packet+0xcd4/0xd00

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_proto_tcp.c