]> err.no Git - linux-2.6/commit
[CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations.
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Tue, 21 Mar 2006 06:21:40 +0000 (22:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:21:40 +0000 (22:21 -0800)
commitb191ba0d599928372be5a89f75486eb58efab48a
treea0ecc636d121126aba838d49700ad9cfbbf94733
parent0ac81ae34ec8898e7eb1388fe21e3cee7b626a88
[CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations.

Return -ESRCH from cn_netlink_send() when there are not listeners,
just as it could be done by netlink_broadcast().  Propagate
netlink_broadcast() error back to the caller.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/connector/connector.txt
drivers/connector/connector.c