]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:23:53 +0000 (10:23 -0700)
commita5aaaff76e2e67ab4d4a481cc33f12eccbbaef22
tree83417058f0d006ee3345793a432e5eb3f34c5332
parentd1a2496e6da4dc33279e9037b58c397cb5d19436
netfilter: nf_conntrack_tcp: fix unaligned memory access in tcp_sack

[ Upstream commit 534f81a5068799799e264fd162e9488a129f98d4 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_proto_tcp.c