Re: [PATCH] firewire net: Ensure checksumming in upper layer.

From: YOSHIFUJI Hideaki
Date: Sun Jan 20 2013 - 10:10:16 EST


Stephan Gatzka wrote:
>
>>> Indeed neither the device nor the lower drivers check protocol checksums.
>>> But the CRCs of the encapsulating 1394 packets are checked in hardware.
>>> Shall protocol checksums be verified regardless?
>>
>> Yes, because packets may come from off-link source.
>>
>
> Hm, I can't see any off-link packets coming from fwnet_finish_incoming_packet()
>
> So I wont verify checksums in the driver.

"Off-link source" means the source exists on the different L2
network. In other words, source is connected via router(s).

ethernet firewire
Host -------------- Router ------------ Host

--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/