]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: Make rds_send_queue_rm() rds_conn_path aware
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Mon, 13 Jun 2016 16:44:33 +0000 (09:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 06:50:42 +0000 (23:50 -0700)
commitea6cc83ce4e590e11bec85f320fd7fbd05417c34
tree14ee7dd5031844df6e37fe2e518b9e48b4fe3c0e
parent2f5b941d8082998e7d4bc04d504737db51da79eb
RDS: Make rds_send_queue_rm() rds_conn_path aware

Pass the rds_conn_path to rds_send_queue_rm, and use it to initialize
the i_conn_path field in struct rds_incoming. This commit also makes
rds_send_queue_rm() MP capable, because it now takes locks
specific to the rds_conn_path passed in, instead of defaulting to
the c_path[0] based defines from rds_single_path.h

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c