aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2018-10-23 18:32:55 +0000
committerNavdeep Parhar <np@FreeBSD.org>2018-10-23 18:32:55 +0000
commit980ab1baa6c56d4cdca5d344b78f990e1d6c6ac6 (patch)
treeb15d22e40d5ac3b8f0ba4f2d53b35c4f128018f3
parent1146377b4b3e5479880bf6d1a21fc8906c2bab16 (diff)
downloadsrc-980ab1baa6c56d4cdca5d344b78f990e1d6c6ac6.tar.gz
src-980ab1baa6c56d4cdca5d344b78f990e1d6c6ac6.zip
cxgbe/iw_cxgbe: save the ep in the driver-private provider_data field.
Submitted By: Lily Wang @ Netapp MFC after: 1 week
Notes
Notes: svn path=/head/; revision=339667
-rw-r--r--sys/dev/cxgbe/iw_cxgbe/cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c
index f3978a41d768..bf9cf46608f6 100644
--- a/sys/dev/cxgbe/iw_cxgbe/cm.c
+++ b/sys/dev/cxgbe/iw_cxgbe/cm.c
@@ -2540,6 +2540,7 @@ int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param)
goto out;
}
ep = alloc_ep(sizeof(*ep), GFP_KERNEL);
+ cm_id->provider_data = ep;
init_timer(&ep->timer);
ep->plen = conn_param->private_data_len;