[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151113.160709.1777821915455809515.davem@davemloft.net>
Date: Fri, 13 Nov 2015 16:07:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: romieu@...zoreil.com, netdev@...r.kernel.org
Subject: Re: via-velocity skb_over_panic
From: Timo Teras <timo.teras@....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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists