summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-06-05 11:23:39 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-05 11:23:39 -0700
commit9457afee85e0dfc2b5075a391d6f34463b4c2b90 (patch)
tree39cf1262030ef195876c916a6f64201d66c48312 /net/netlink
parent40aecb1b13f50d96616abb612c17e59457f54263 (diff)
downloadkernel-crypto-9457afee85e0dfc2b5075a391d6f34463b4c2b90.tar.gz
kernel-crypto-9457afee85e0dfc2b5075a391d6f34463b4c2b90.tar.xz
kernel-crypto-9457afee85e0dfc2b5075a391d6f34463b4c2b90.zip
netlink: Remove nonblock parameter from netlink_attachskb
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
-rw-r--r--net/netlink/af_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 9b97f8006c9..6507c02dbe0 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -759,7 +759,7 @@ struct sock *netlink_getsockbyfilp(struct file *filp)
* 0: continue
* 1: repeat lookup - reference dropped while waiting for socket memory.
*/
-int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock,
+int netlink_attachskb(struct sock *sk, struct sk_buff *skb,
long *timeo, struct sock *ssk)
{
struct netlink_sock *nlk;
@@ -892,7 +892,7 @@ retry:
return err;
}
- err = netlink_attachskb(sk, skb, nonblock, &timeo, ssk);
+ err = netlink_attachskb(sk, skb, &timeo, ssk);
if (err == 1)
goto retry;
if (err)