|
@@ -229,7 +229,10 @@ static void ibnl_rcv(struct sk_buff *skb)
|
|
|
int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh,
|
|
|
__u32 pid)
|
|
|
{
|
|
|
- return nlmsg_unicast(nls, skb, pid);
|
|
|
+ int err;
|
|
|
+
|
|
|
+ err = netlink_unicast(nls, skb, pid, 0);
|
|
|
+ return (err < 0) ? err : 0;
|
|
|
}
|
|
|
EXPORT_SYMBOL(ibnl_unicast);
|
|
|
|
|
@@ -252,6 +255,7 @@ int __init ibnl_init(void)
|
|
|
return -ENOMEM;
|
|
|
}
|
|
|
|
|
|
+ nls->sk_sndtimeo = 10 * HZ;
|
|
|
return 0;
|
|
|
}
|
|
|
|