mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
fd76e5ccc4
The qrtr protocol core logic and the qrtr nameservice are combined into
a single module. Neither the core logic or nameservice provide much
functionality by themselves; combining the two into a single module also
prevents any possible issues that may stem from client modules loading
inbetween qrtr and the ns.
Creating a socket takes two references to the module that owns the
socket protocol. Since the ns needs to create the control socket, this
creates a scenario where there are always two references to the qrtr
module. This prevents the execution of 'rmmod' for qrtr.
To resolve this, forcefully put the module refcount for the socket
opened by the nameservice.
Fixes:
|
||
---|---|---|
.. | ||
af_qrtr.c | ||
Kconfig | ||
Makefile | ||
mhi.c | ||
ns.c | ||
qrtr.h | ||
smd.c | ||
tun.c |