diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-05-20 17:06:29 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-05-20 17:06:29 -0500 |
commit | 6c5d6cd0e75e34eaad7ee1ce99d649a58c0a77f2 (patch) | |
tree | 47c457b931ba6f7cf11752e312015414c199c71a /usr/initiator.c | |
parent | b282ce7f74411caec4abf2df9c188e23a8da3781 (diff) | |
download | open-iscsi-6c5d6cd0e75e34eaad7ee1ce99d649a58c0a77f2.tar.gz |
iscsid: add per transport init callback
cxgb3i can only support 15360 or smaller. This patch adds a callback
to the transport so that drivers can override the default settings
or do any other setup they may need to do before we try to login.
Diffstat (limited to 'usr/initiator.c')
-rw-r--r-- | usr/initiator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/initiator.c b/usr/initiator.c index 4a56347..309a431 100644 --- a/usr/initiator.c +++ b/usr/initiator.c @@ -1922,6 +1922,9 @@ static void session_conn_poll(void *data) } iscsi_copy_operational_params(conn); + + if (session->t->template->create_conn) + session->t->template->create_conn(conn); /* * TODO: use the iface number or some other value * so this will be persistent |