linux-stable-rt/include/net/netfilter
Patrick McHardy 86577c661b [NETFILTER]: nf_conntrack: fix ct_extend ->move operation
The ->move operation has two bugs:

- It is called with the same extension as source and destination,
  so it doesn't update the new extension.

- The address of the old extension is calculated incorrectly,
  instead of (void *)ct->ext + ct->ext->offset[i] it uses
  ct->ext + ct->ext->offset[i].

Fixes a crash on x86_64 reported by Chuck Ebbert <cebbert@redhat.com>
and Thomas Woerner <twoerner@redhat.com>.

Tested-by: Thomas Woerner <twoerner@redhat.com>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-07 17:56:34 -08:00
..
ipv4
ipv6
nf_conntrack.h [NETFILTER]: nf_{conntrack,nat}_proto_tcp: constify and annotate TCP modules 2008-01-31 19:28:10 -08:00
nf_conntrack_core.h [NETFILTER]: nf_conntrack: annotate l3protos with const 2008-01-31 19:28:13 -08:00
nf_conntrack_ecache.h
nf_conntrack_expect.h [NETFILTER]: nf_conntrack_expect: use RCU for expectation hash 2008-01-31 19:27:53 -08:00
nf_conntrack_extend.h [NETFILTER]: nf_conntrack: fix ct_extend ->move operation 2008-02-07 17:56:34 -08:00
nf_conntrack_helper.h [NETFILTER]: nf_conntrack: use RCU for conntrack helpers 2008-01-31 19:27:51 -08:00
nf_conntrack_l3proto.h [NETFILTER]: nf_conntrack: naming unification 2008-01-31 19:27:59 -08:00
nf_conntrack_l4proto.h [NETFILTER]: nf_conntrack: naming unification 2008-01-31 19:27:59 -08:00
nf_conntrack_tuple.h [NETFILTER]: nf_conntrack: avoid duplicate protocol comparison in nf_ct_tuple_equal() 2008-01-31 19:27:56 -08:00
nf_log.h [NETFILTER]: nf_log: add netfilter gcc printf format checking 2008-01-31 19:27:32 -08:00
nf_nat.h
nf_nat_core.h
nf_nat_helper.h
nf_nat_protocol.h
nf_nat_rule.h
nf_queue.h
xt_rateest.h