From: Pablo Neira Ayuso Date: Thu, 18 Mar 2010 14:24:42 +0000 (+0000) Subject: netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err() X-Git-Tag: v2.6.34-rc3~84^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a50307ba1826e4da0024e64b245ce4eadf7688a;p=pandora-kernel.git netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err() Currently, ENOBUFS errors are reported to the socket via netlink_set_err() even if NETLINK_RECV_NO_ENOBUFS is set. However, that should not happen. This fixes this problem and it changes the prototype of netlink_set_err() to return the number of sockets that have set the NETLINK_RECV_NO_ENOBUFS socket option. This return value is used in the next patch in these bugfix series. Signed-off-by: Pablo Neira Ayuso Signed-off-by: David S. Miller --- Reading git-diff-tree failed