]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6287b05e0e04c104373a96b000f69885007e7c5a
tree3ac8450239e5e9ee99e1a4bbef1626401dd76be9
parentc0f0c501c5a5470065297984521aa4e321776b29
ipv4: more compliant RFC 3168 support

Commit 2e9ac7a78a69 (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