[PATCH] net: qrtr: Allocate workqueue before kernel_bind

2020-05-28 Thread Chris Lew
: 0c2204a4ad71 ("net: qrtr: Migrate nameservice to kernel from userspace") Signed-off-by: Chris Lew --- net/qrtr/ns.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/qrtr/ns.c b/net/qrtr/ns.c index e7d0fe3f4330..c5b3202a14ca 100644 --- a/net/qrtr/ns.c

Re: [PATCH 2/5] net: qrtr: Implement outgoing flow control

2019-05-13 Thread Chris Lew
On 5/7/2019 11:06 PM, Bjorn Andersson wrote: In order to prevent overconsumption of resources on the remote side QRTR implements a flow control mechanism. The mechanism works by the sender keeping track of the number of outstanding unconfirmed messages that has been transmitted to a particula

Re: [PATCH v2] net: qrtr: Expose tunneling endpoint to user space

2018-04-26 Thread Chris Lew
ens up the ability of tunneling qrtr over a network or USB link. Signed-off-by: Bjorn Andersson Acked-by: Chris Lew +static ssize_t qrtr_tun_read_iter(struct kiocb *iocb, struct iov_iter *to) +{ + struct file *filp = iocb->ki_filp; + struct qrtr_tun *tun = filp->private_data

Re: [PATCH 1/7] net: qrtr: Invoke sk_error_report() after setting sk_err

2017-09-21 Thread Chris Lew
On 9/6/2017 11:03 PM, Bjorn Andersson wrote: Rather than manually waking up any context sleeping on the sock to signal an error we should call sk_error_report(). This has the added benefit that in-kernel consumers can override this notificatino with its own callback. Typo with notification.