Patrick McHardy 9e2dcf7202 netfilter: nf_conntrack_reasm: properly handle packets fragmented into a single fragment
When an ICMPV6_PKT_TOOBIG message is received with a MTU below 1280,
all further packets include a fragment header.

Unlike regular defragmentation, conntrack also needs to "reassemble"
those fragments in order to obtain a packet without the fragment
header for connection tracking. Currently nf_conntrack_reasm checks
whether a fragment has either IP6_MF set or an offset != 0, which
makes it ignore those fragments.

Remove the invalid check and make reassembly handle fragment queues
containing only a single fragment.

Reported-and-tested-by: Ulrich Weber <uweber@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-02-19 18:18:37 +01:00
..
2008-10-29 12:52:50 -07:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2009-10-20 18:55:45 -07:00
2009-10-07 14:50:30 -07:00
2010-02-17 18:48:44 -08:00
2009-06-03 02:51:04 -07:00
2009-09-14 17:03:05 -07:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2010-02-17 00:03:27 -08:00
2010-01-17 19:16:02 -08:00
2009-09-14 17:03:05 -07:00
2010-02-12 16:51:10 -08:00
2010-01-17 19:16:02 -08:00
2008-11-25 17:59:52 -08:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00