[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1257497752.29454.11.camel@johannes.local>
Date: Fri, 06 Nov 2009 09:55:52 +0100
From: Johannes Berg <johannes@...solutions.net>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, j@...fi, tgraf@...g.ch
Subject: Re: [RFC] netlink: add socket destruction notification
On Thu, 2009-11-05 at 21:08 -0800, David Miller wrote:
> > When we want to keep track of resources associated with applications, we
> > need to know when an app is going away. Add a notification function to
> > netlink that tells us that, and also hook it up to generic netlink so
> > generic netlink can notify the families. Due to the way generic netlink
> > works though, we need to notify all families and they have to sort out
> > whatever resources some commands associated with the socket themselves.
> No fundamental objections.
:)
> However, as a followup, netlink_kernel_create() is becomming
> function_that_takes_too_many_arguments().
>
> At this point it's better to just pass two arguments, the network
> namespace pointer, and a pointer to a "const struct netlink_kern_info"
> that holds the rest of the parameters.
>
> Could you make that change too?
Yeah, I agree -- will change.
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists