[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B71C5@saturn3.aculab.com>
Date: Tue, 9 Apr 2013 12:34:42 +0100
From: "David Laight" <David.Laight@...LAB.COM>
To: "Wei Liu" <wei.liu2@...rix.com>, <netdev@...r.kernel.org>,
<xen-devel@...ts.xen.org>
Cc: <ian.campbell@...rix.com>, <david.vrabel@...rix.com>,
<konrad.wilk@...cle.com>, <annie.li@...cle.com>,
<wdauchy@...il.com>
Subject: RE: [PATCH 7/7] xen-netback: don't disconnect frontend when seeing oversize packet
> + if (!drop_err && txp->size > first->size) {
> + if (net_ratelimit())
> + netdev_dbg(vif->dev,
> + "Packet is bigger than frame.\n");
It must be worth printing txp->size and first->size here.
Similarly for the other errors in the other patches.
Probably difficult for some of these errors, but it is
sometimes worth saving the last 'bad' item. So that with
an appropriate tool (maybe hexdump of /dev/kmem) it is
possible to look at the actual contents and thus determine
the actual source of the error.
David
--
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