[Top] [All Lists]

Re: [PATCH] merge sctp_opt with sctp_sock

To: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] merge sctp_opt with sctp_sock
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 13:33:27 -0800
Cc: sri@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <>
References: <>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 15 Jan 2005 02:52:13 -0200
Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> wrote:

>       Please take a look and if its acceptable pull from:
> bk://
>       The tricky bit here is that SCTP, to keep the existing logic,
> needs a way to copy only its private area from one sock to another, so
> I introduced a generic inet_sk_copy_descendant, that knows about the
> inet (v4/v6) layout (wrt inet_sock and inet6_pinfo), using this and
> sk->sk_prot->slab_obj_size we can copy the inet_sock descendant
> private area generically.

This looks fine, although I wish the descendant copying thing
could be done more cleanly somehow.


<Prev in Thread] Current Thread [Next in Thread>