Commit 6cdcdbba authored by Eddie Wai's avatar Eddie Wai Committed by David S. Miller

cnic: Reset tcp_flags during cnic_cm_create().

Without resetting it, the bnx2i driver cannot use different options for
different iSCSI connections.
Signed-off-by: default avatarEddie Wai <eddie.wai@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b54345ea
...@@ -3603,6 +3603,7 @@ static int cnic_cm_create(struct cnic_dev *dev, int ulp_type, u32 cid, ...@@ -3603,6 +3603,7 @@ static int cnic_cm_create(struct cnic_dev *dev, int ulp_type, u32 cid,
csk1->rcv_buf = DEF_RCV_BUF; csk1->rcv_buf = DEF_RCV_BUF;
csk1->snd_buf = DEF_SND_BUF; csk1->snd_buf = DEF_SND_BUF;
csk1->seed = DEF_SEED; csk1->seed = DEF_SEED;
csk1->tcp_flags = 0;
*csk = csk1; *csk = csk1;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment