[IPV4]: Reassembly trim not clearing CHECKSUM_HW
authorStephen Hemminger <shemminger@osdl.org>
Tue, 6 Sep 2005 22:51:48 +0000 (15:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 22:51:48 +0000 (15:51 -0700)
commit48bc41a49c4f3aa760dff84e7f71437f5ed520fe
tree8f8bcf9c752f1860d5e02b063872685c84c8481b
parentf75268cd6cbd24e6c70ff1390f4de5d0bb618539
[IPV4]: Reassembly trim not clearing CHECKSUM_HW

This was found by inspection while looking for checksum problems
with the skge driver that sets CHECKSUM_HW. It did not fix the
problem, but it looks like it is needed.

If IP reassembly is trimming an overlapping fragment, it
should reset (or adjust) the hardware checksum flag on the skb.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c