[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080424.171644.106117727.yoshfuji@linux-ipv6.org>
Date: Thu, 24 Apr 2008 17:16:44 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: davem@...emloft.net
Cc: dlstevens@...ibm.com, netdev@...r.kernel.org
Subject: Re: [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit
kernels.
In article <20080424.010845.257071066.davem@...emloft.net> (at Thu, 24 Apr 2008 01:08:45 -0700 (PDT)), David Miller <davem@...emloft.net> says:
> From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org>
> Date: Thu, 24 Apr 2008 17:02:57 +0900 (JST)
>
> > +#ifdef __KERNEL__
> > +struct __compat_sockaddr_storage {
> > + unsigned short ss_family;
> > + char __data[_K_SS_MAXSIZE - sizeof(unsigned short)];
> > +} __attribute__ ((aligned(4)));
> > +#endif
>
> Should include <linux/compat.h>, use compat types, and be guarded
> by CONFIG_COMPAT. This goes for all such structures.
Do you mean, something like this?
#ifdef __KERNEL__
#include <linux/compat.h>
#ifdef CONFIG_COMPAT
struct __compat_sockaddr_storage {
unsigned short ss_family;
char __data[_K_SS_MAXSIZE - sizeof(unsigned short)];
__attribute__ ((aligned(alignof(compat_uptr_t))));
#endif
#endif
> Where is ip6_mc_compat_msfget() header file declaration?
>
> This following call casts the 5th argument to "struct group_filter"
> but the argument type in the implementation is...
I'll fix...
> Thanks for doing this work, please make corrections and I also
> look forward to your ipv4 side fixes.
Will do.
--yoshfuji
--
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