[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080924132338.GR20815@postel.suug.ch>
Date: Wed, 24 Sep 2008 15:23:38 +0200
From: Thomas Graf <tgraf@...g.ch>
To: RĂ©mi Denis-Courmont
<remi.denis-courmont@...ia.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 05/11] Phonet: Netlink interface
* R?mi Denis-Courmont <remi.denis-courmont@...ia.com> 2008-09-24 14:30
> Ok, thanks. Would this work?
Yes, looks good.
> + if (op == RTM_NEWADDR)
> + err = phonet_address_add(dev, pnaddr);
> + else
> + err = phonet_address_del(dev, pnaddr);
You could do if (nlh->nlmsg_type == RTM_NEWADDR) here and register this
functions for both add and delete.
--
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