netdev
[Top] [All Lists]

Re: Netlink Connector / CBUS

To: James Morris <jmorris@xxxxxxxxxx>
Subject: Re: Netlink Connector / CBUS
From: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
Date: Tue, 05 Apr 2005 11:08:04 +0400
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, rml@xxxxxxxxxx, Greg KH <greg@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>
In-reply-to: <Xine.LNX.4.44.0504050108260.9383-100000@thoron.boston.redhat.com>
Organization: MIPT
References: <Xine.LNX.4.44.0504050108260.9383-100000@thoron.boston.redhat.com>
Reply-to: johnpol@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2005-04-05 at 01:10 -0400, James Morris wrote:
> On Tue, 5 Apr 2005, James Morris wrote:
> 
> > A few questions:
> 
> Also, please allow cn_add_callback() allow it to be passed a NULL 
> callback function, so the caller doesn't pass in a dummy function and your 
> code doesn't waste time dealing with something which isn't real.

Why can anyone want to add callback that will not supposed to be
usefull?
Callback is called when someone sends netlink message with appropriate
idx/val inside, if there is no registered callback with such ID, 
nothing will be called and skb will be freed.

> 
> - James
-- 
        Evgeniy Polyakov

Crash is better than data corruption -- Arthur Grabowski

Attachment: signature.asc
Description: This is a digitally signed message part

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