[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJDhSdf++-CA8=+NNDu0Ah-y2quYCjSSzgbSuy+pF5xG19xDmg@mail.gmail.com>
Date: Tue, 22 May 2012 15:01:22 +0200
From: Rob Janssen <rob.janssen76@...il.com>
To: netdev@...r.kernel.org
Subject: Re: arcnet: protocol is buggy messages in 3.0 kernel, not in 2.33 kernel
On Fri, May 4, 2012 at 1:23 AM, Francois Romieu <romieu@...zoreil.com> wrote:
> Rob Janssen <rob.janssen76@...il.com> :
> [...]
>> Does anyone have what causes this message in the 3.0 kernel and/or how
>> to fix this ?
>
> Wild guess: hard_header_len is sizeof(struct archdr). archdr embeds a huge
> ethhdr but the header build helper only accounts for ARC_HDR_SIZE +
> RFC1201_HDR_SIZE.
>
> --
> Ueimor
I solved the problem:
The socket was opened with the wrong protocol: ETH_P_ALL instead of
ETH_P_ARCNET.
This causes arcnet messages to be sent to all network devices.
I don't know why older kernel versions didn't complain..
Rob
--
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