From: Eddie Wai Date: Mon, 29 Jul 2013 02:03:57 +0000 (-0700) Subject: cnic: Reset tcp_flags during cnic_cm_create(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6cdcdbba600c0537f5c61a9ffa45e708950c1aa6;p=linux-beck.git 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 Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c index c6822e16c7a3..1a2e5ff003c3 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;