mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
netlink: Remove nonblock parameter from netlink_attachskb
Signed-off-by: Denis V. Lunev <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
40aecb1b13
commit
9457afee85
3 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue