From: Evgeniy Polyakov Date: Tue, 21 Mar 2006 06:21:40 +0000 (-0800) Subject: [CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations. X-Git-Tag: v2.6.17-rc1~1175^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b191ba0d599928372be5a89f75486eb58efab48a;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed