From: Timo Teras <timo.te...@iki.fi>
Date: Fri, 13 Nov 2015 18:49:47 +0200

> +     if (pkt_len < 4 || pkt_len > vptr->rx.buf_sz) {
> +             VELOCITY_PRT(MSG_LEVEL_VERBOSE, KERN_ERR " %s : the received 
> frame size %d is inconsistent.\n", vptr->netdev->name, pkt_len);
 ...
> This seems to have fixed the panics. And I do see one of the NIC's
> ethtool report's in_range_length_errors increasing once in a while. For
> some reason I don't see the above debug message though, so I'm not sure
> on what pkt_len triggers it.

You have to set the driver message level >= MSG_LEVEL_VERBOSE (3) to
see it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to