diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-03-21 09:21:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 09:21:40 +0300 |
commit | b191ba0d599928372be5a89f75486eb58efab48a (patch) | |
tree | a0ecc636d121126aba838d49700ad9cfbbf94733 /lib/rbtree.c | |
parent | 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 (diff) | |
download | linux-b191ba0d599928372be5a89f75486eb58efab48a.tar.xz |
[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>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions