]> git.baikalelectronics.ru Git - kernel.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)
commit9359a12f14dba8f5df8e8c05d16291085ce9eda3
tree541efbf72b69d3c834b5aaffdb1b6e462344bf4f
parentee7c5f93f84e24cd817cc80162e1b36e2d16abe3
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