lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ