summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorEddie Wai <eddie.wai@broadcom.com>2013-07-29 02:03:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-07-30 05:03:07 (GMT)
commit6cdcdbba600c0537f5c61a9ffa45e708950c1aa6 (patch)
tree1748b970c42880585308db9ca0d4a38b28560a0d /drivers/net/ethernet/broadcom
parentb54345ea32ccd830066a793388a55473e05a4679 (diff)
downloadlinux-6cdcdbba600c0537f5c61a9ffa45e708950c1aa6.tar.xz
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: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r--drivers/net/ethernet/broadcom/cnic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c
index c6822e1..1a2e5ff 100644
--- a/drivers/net/ethernet/broadcom/cnic.c
+++ b/drivers/net/ethernet/broadcom/cnic.c
@@ -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->snd_buf = DEF_SND_BUF;
csk1->seed = DEF_SEED;
+ csk1->tcp_flags = 0;
*csk = csk1;
return 0;