• Bjorn Andersson's avatar
    net: qrtr: Inform open sockets about new controller · b24844b1
    Bjorn Andersson authored
    As the higher level communication only deals with "services" the
    a service directory is required to keep track of local and remote
    services. In order for qrtr clients to be informed about when the
    service directory implementation is available some event needs to be
    passed to them.
    
    Rather than introducing support for broadcasting such a message in-band
    to all open local sockets we flag each socket with ENETRESET, as there
    are no other expected operations that would benefit from having support
    from locally broadcasting messages.
    
    Cc: Courtney Cavin <ccavin@gmail.com>
    Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b24844b1
qrtr.c 23.7 KB