summaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2016-06-13 09:44:28 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-14 23:50:42 -0700
commitef9e62c2e5087cb9bc713e3d9776336e1bb40df1 (patch)
tree29f36f26f3c655e15687b5ba5bc76cac3e88629e /net/rds/rds.h
parent7e8f4413d7861efcb332ebce8d9b000a17eaa0e5 (diff)
downloadlinux-ef9e62c2e5087cb9bc713e3d9776336e1bb40df1.tar.gz
linux-ef9e62c2e5087cb9bc713e3d9776336e1bb40df1.tar.xz
RDS: recv path gets the conn_path from rds_incoming for MP capable transports
Transports that are t_mp_capable should set the rds_conn_path on which the datagram was recived in the ->i_conn_path field of struct rds_incoming. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index 28f001cbc893..7c85b2d792b6 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -231,6 +231,7 @@ struct rds_incoming {
atomic_t i_refcount;
struct list_head i_item;
struct rds_connection *i_conn;
+ struct rds_conn_path *i_conn_path;
struct rds_header i_hdr;
unsigned long i_rx_jiffies;
__be32 i_saddr;