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] [day] [month] [year] [list]
Date:	Thu, 05 Feb 2009 23:57:00 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	pablo@...filter.org
Cc:	netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: [PATCH] netlink: change return-value logic of
 netlink_broadcast()

From: Pablo Neira Ayuso <pablo@...filter.org>
Date: Wed, 04 Feb 2009 21:13:03 +0100

> Currently, netlink_broadcast() reports errors to the caller if no
> messages at all were delivered:
> 
> 1) If, at least, one message has been delivered correctly, returns 0.
> 2) Otherwise, if no messages at all were delivered due to skb_clone()
>    failure, return -ENOBUFS.
> 3) Otherwise, if there are no listeners, return -ESRCH.
> 
> With this patch, the caller knows if the delivery of any of the
> messages to the listeners have failed:
 ...
> Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>

Looks great, applied, thanks Pablo.
--
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