ipv4: more compliant RFC 3168 support
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 16 May 2011 08:37:37 +0000 (08:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2011 18:49:14 +0000 (14:49 -0400)
commit5173cc057787560c127c6e9737f308c833dc4ff3
tree3ac8450239e5e9ee99e1a4bbef1626401dd76be9
parent485bf569ba798b4702bc2efbfd3a355fe2c8db04
ipv4: more compliant RFC 3168 support

Commit 6623e3b24a5e (ipv4: IP defragmentation must be ECN aware) was an
attempt to not lose "Congestion Experienced" (CE) indications when
performing datagram defragmentation.

Stefanos Harhalakis raised the point that RFC 3168 requirements were not
completely met by this commit.

In particular, we MUST detect invalid combinations and eventually drop
illegal frames.

Reported-by: Stefanos Harhalakis <v13@v13.gr>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c