Andrew Morton writes:
> And just to clarify: it is currently the case that we
> do support scatter/gather on devices which don't have
> hardware checksums on transmit.
Yes, but I won't allow this for ipv4/ipv6 in the final zerocopy patch
I send to Linus. The reason (did you attend my talk at UNSW last
week??? :-))) is that if SG-only is allowed it is possible for the
paged data to get modified between when we calculate the checksum
in software and the device transmits the packet. We don't get
exclusive access to the pages, we just grab a reference to them.
Even though a TCP retransmit would fixup the checksum this is horrible
from a quality of implementation standpoint.
However, as I mentioned, DecNET and friends will be able to make use
of SG-only devices.
David S. Miller