[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)
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>

No differences found