mbox series

[RFC,net-next,af_unix,v1,0/1] Allow delivery of SIGURG on AF_UNIX streams socket

Message ID 1602187438-12464-1-git-send-email-rao.shoaib@oracle.com
Headers show
Series Allow delivery of SIGURG on AF_UNIX streams socket | expand

Message

Rao Shoaib Oct. 8, 2020, 8:03 p.m. UTC
From: Rao Shoaib <rao.shoaib@oracle.com>

The use of AF_UNIX sockets is on the rise. We have a case where thousands
of processes connect locally to a database and issue queries that are
serviced by a pool of threads. Communication is done over AF_UNIX
sockets. Currently, there is no way for the submitter to signal the
servicing thread about an urgent condition such as abandoning
the query. This patch addresses that requirement by adding support for
MSG_OOB flag for AF_UNIX sockets. On receipt of such a flag,
the kernel sends a SIGURG to the peer.

Rao Shoaib (1):
  af_unix: Allow delivery of SIGURG on AF_UNIX streams socket

 net/unix/af_unix.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)