From: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
To: mokuno-DfbDroY8Xu1L9jVzuh4AOg@public.gmane.org
Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: : Emit event stream compat iw_point objects correctly.
Date: Tue, 03 Jun 2008 10:37:16 -0700 (PDT) [thread overview]
Message-ID: <20080603.103716.193719039.davem@davemloft.net> (raw)
In-Reply-To: <20080603.095750.120470495.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
From: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Date: Tue, 03 Jun 2008 09:57:50 -0700 (PDT)
> From: Masakazu Mokuno <mokuno-DfbDroY8Xu1L9jVzuh4AOg@public.gmane.org>
> Date: Fri, 11 Jan 2008 13:16:29 +0900
>
> > The source address does not have to be adjusted. I think it should be
> > ((char *) iwe) + IW_EV_LCP_LEN,
> > or just
> > &iwe->u
> > I think it is more readable what we want to do here.
> >
> >
> > > + event_len - lcp_len);
> >
> > The length of the real payload does not need to take account of the
> > destination offset change. So we can keep the original code like:
> >
> > org_event_len - IW_EV_LCP_LEN);
>
> As long as IW_EV_LCP_LEN and IW_EV_COMPAT_LCP_LEN are different, I am
> pretty sure we need to make these adjustments.
>
> There are so many differences in how struct vs. sub-struct alignment will
> occur in these cases, that we need to be very careful.
>
> I'll try to look more closely at this and do some testing of my own on
> a compat platform.
I know understand what you were trying to say, indeed the source
address does not and should not need to be adjusted, it is in
non-compat format afterall.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-06-03 17:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-22 4:58 [WEXT 12/12]: Emit event stream compat iw_point objects correctly David Miller
[not found] ` <20071221.205808.213484078.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2007-12-27 8:51 ` : " Masakazu Mokuno
2007-12-27 8:57 ` David Miller
[not found] ` <20071227.005725.144782426.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2007-12-27 9:24 ` Masakazu Mokuno
[not found] ` <20071227181439.6F59.40F06B3A-DfbDroY8Xu1L9jVzuh4AOg@public.gmane.org>
2007-12-27 9:26 ` David Miller
2008-01-10 9:16 ` David Miller
[not found] ` <20080110.011602.74511551.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-01-11 4:16 ` Masakazu Mokuno
2008-06-03 16:57 ` David Miller
[not found] ` <20080603.095750.120470495.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-06-03 17:37 ` David Miller [this message]
2008-01-21 11:23 ` Masakazu Mokuno
[not found] ` <20080121194942.613C.40F06B3A-DfbDroY8Xu1L9jVzuh4AOg@public.gmane.org>
2008-01-21 11:37 ` David Miller
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=20080603.103716.193719039.davem@davemloft.net \
--to=davem-ft/pcqaiutieiz0/mpfg9q@public.gmane.org \
--cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mokuno-DfbDroY8Xu1L9jVzuh4AOg@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.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