linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arcnet: protocol is buggy messages in 3.0 kernel, not in 2.33 kernel
       [not found] <CAJDhSdc5J1xzvxYhvru6kjqAbq1NAtvWQCu-tXbi4aE_NXGXrg@mail.gmail.com>
@ 2012-05-03 13:25 ` Rob Janssen
  0 siblings, 0 replies; only message in thread
From: Rob Janssen @ 2012-05-03 13:25 UTC (permalink / raw)
  To: linux-kernel

Hello all

Since we've moved from the 2.33 kernel to the 3.0 kernel, we see the
following kernel messages in dmesg:

protocol 001a is buggy, dev arc0 skb=c702e2f4

The device involved is an arcnet device.
The warning is logged by dev.c, see the following code snippet:

if (skb_network_header(skb2) < skb2->data ||
                           skb2->network_header > skb2->tail) {
                               if (net_ratelimit())
                                       printk(KERN_CRIT "protocol %04x is "
                                              "buggy, dev %s skb=%04x\n",
                                              ntohs(skb2->protocol),
                                              dev->name,
skb_network_header(skb2));
                               skb_reset_network_header(skb2);
                       }
I added some logging, and it appears that skb2->network_header is
placed in memory beyond skb2->tail (the second check).

Does anyone have what causes this message in the 3.0 kernel and/or how
to fix this ?

Thanks in advance,

Rob Janssen

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-03 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJDhSdc5J1xzvxYhvru6kjqAbq1NAtvWQCu-tXbi4aE_NXGXrg@mail.gmail.com>
2012-05-03 13:25 ` arcnet: protocol is buggy messages in 3.0 kernel, not in 2.33 kernel Rob Janssen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).