impossible packet length ...
danny at cs.huji.ac.il
Sun Feb 8 05:45:19 PST 2009
> On Sun, 8 Feb 2009, Danny Braniss wrote:
> > looking at the bce source, it's not clear (to me :-). If errors are detected
> > in bce_rx_intr(), the packet gets dropped, which I would expect to be the
> > treatment of an offloded chekcum error, but it seems that is not the case.
> I think we're thinking of different checksums -- devices/device drivers drop
> frames with bad ethernet checksums, but not IP and above layer checksums.
I know I'm stepping on thin ice hear - haven't touched Stevens for a while,
(and I doubt it mentions offloading), but if the offload checksum is bad,
why not just drop the packet?
The way I read the driver, if the offload checksum is on, and if no
errors where detected, then it's marked as ok.
More information about the freebsd-stable