Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102693
b: refs/heads/master
c: 9457afe
h: refs/heads/master
i:
  102691: 53ebcea
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Jun 5, 2008
1 parent 68d77f2 commit 7ac563a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40aecb1b13f50d96616abb612c17e59457f54263
refs/heads/master: 9457afee85e0dfc2b5075a391d6f34463b4c2b90
2 changes: 1 addition & 1 deletion trunk/include/linux/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ extern int netlink_unregister_notifier(struct notifier_block *nb);

/* finegrained unicast helpers: */
struct sock *netlink_getsockbyfilp(struct file *filp);
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);
void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
int netlink_sendskb(struct sock *sk, struct sk_buff *skb);
Expand Down
2 changes: 1 addition & 1 deletion trunk/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ asmlinkage long sys_mq_notify(mqd_t mqdes,
}

timeo = MAX_SCHEDULE_TIMEOUT;
ret = netlink_attachskb(sock, nc, 0, &timeo, NULL);
ret = netlink_attachskb(sock, nc, &timeo, NULL);
if (ret == 1)
goto retry;
if (ret) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -892,7 +892,7 @@ int netlink_unicast(struct sock *ssk, struct sk_buff *skb,
return err;
}

err = netlink_attachskb(sk, skb, nonblock, &timeo, ssk);
err = netlink_attachskb(sk, skb, &timeo, ssk);
if (err == 1)
goto retry;
if (err)
Expand Down

0 comments on commit 7ac563a

Please sign in to comment.