[openib-general] [PATCH][SDP] Allow SDP to compile on 2.6.12-rc3
Tom Duffy
tduffy at sun.com
Thu Apr 21 15:52:43 PDT 2005
On Thu, 2005-04-21 at 15:36 -0700, Roland Dreier wrote:
> Is this really the only change required? It seems that the socket
> allocation function changed too -- 2.6.11 has
>
> extern struct sock * sk_alloc(int family, int priority, int zero_it,
> kmem_cache_t *slab);
>
> while my up-to-date Linus tree has
>
> extern struct sock *sk_alloc(int family, int priority,
> struct proto *prot, int zero_it);
>
> so I think sdp_conn.c at least needs some fixing up.
Oh, you are right, I missed the compile warning, but I see it now.
Why does the SDP code pass in sizeof(struct inet_sock) for the zero_it
bool?
-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050421/98e953ce/attachment.sig>
More information about the general
mailing list