From: David Miller <davem@davemloft.net>
To: sven@narfation.org
Cc: b.a.t.m.a.n@lists.open-mesh.org, ordex@autistici.org,
netdev@vger.kernel.org
Subject: Re: [B.A.T.M.A.N.] [PATCH 1/9] batman-adv: add UNICAST_4ADDR packet type
Date: Sun, 04 Nov 2012 12:26:11 -0500 (EST) [thread overview]
Message-ID: <20121104.122611.1457246059414191903.davem@davemloft.net> (raw)
In-Reply-To: <12758662.vFhVQet4vg@sven-laptop.home.narfation.org>
From: Sven Eckelmann <sven@narfation.org>
Date: Sun, 04 Nov 2012 11:29:29 +0100
> Now also assume following really unusual situation: We get our data from a
> ethernet driver and the skb stores the ethernet header. The start of the
> ethernet header is perfectly aligned (4 or even 16 byte boundary aligned). The
> the header is 14/18 byte long (6 byte src, 6 byte dst, 2 byte ethertype and
> maybe 4 byte vlan). Now the payload starts only on a 2 byte boundary -> it is
> never 4 byte boundary aligned. A 32 bit read now causes different variations
> of problems (reminder: bus error).
Every ethernet driver must provide the networking stack with a modulo 2
aligned ethernet header, which makes sure that everything after the
ethernet header is at least 4 byte aligned.
next prev parent reply other threads:[~2012-11-04 17:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 18:48 pull request: batman-adv 2012-11-03 Antonio Quartulli
[not found] ` <1351968514-12357-1-git-send-email-ordex-GaUfNO9RBHfsrOwW+9ziJQ@public.gmane.org>
2012-11-03 18:48 ` [PATCH 1/9] batman-adv: add UNICAST_4ADDR packet type Antonio Quartulli
[not found] ` <1351968514-12357-2-git-send-email-ordex-GaUfNO9RBHfsrOwW+9ziJQ@public.gmane.org>
2012-11-03 19:22 ` David Miller
[not found] ` <20121103.152226.244759041688205348.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2012-11-04 10:29 ` Sven Eckelmann
[not found] ` <12758662.vFhVQet4vg-S/pmIDWWJIwhrEaHGRlFQnOel7F/LzPIcbWoRP8EXgk@public.gmane.org>
2012-11-04 11:20 ` Sven Eckelmann
[not found] ` <5244128.ID77evUSAJ-S/pmIDWWJIwhrEaHGRlFQnOel7F/LzPIcbWoRP8EXgk@public.gmane.org>
2012-11-04 17:30 ` David Miller
2012-11-04 17:26 ` David Miller [this message]
2012-11-03 18:48 ` [PATCH 2/9] batman-adv: Distributed ARP Table - add a new debug log level Antonio Quartulli
2012-11-03 18:48 ` [PATCH 3/9] batman-adv: Distributed ARP Table - create DHT helper functions Antonio Quartulli
2012-11-03 18:48 ` [PATCH 4/9] batman-adv: Distributed ARP Table - implement local storage Antonio Quartulli
2012-11-03 18:48 ` [PATCH 5/9] batman-adv: Distributed ARP Table - add ARP parsing functions Antonio Quartulli
2012-11-03 18:48 ` [PATCH 6/9] batman-adv: Distributed ARP Table - add snooping functions for ARP messages Antonio Quartulli
2012-11-03 18:48 ` [PATCH 7/9] batman-adv: Distributed ARP Table - add compile option Antonio Quartulli
2012-11-03 18:48 ` [PATCH 8/9] batman-adv: Distributed ARP Table - add runtime switch Antonio Quartulli
2012-11-03 18:48 ` [PATCH 9/9] batman-adv: Add get_ethtool_stats() support for DAT Antonio Quartulli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121104.122611.1457246059414191903.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=netdev@vger.kernel.org \
--cc=ordex@autistici.org \
--cc=sven@narfation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).