Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3a8ce61 authored by Vladislav Zolotarov's avatar Vladislav Zolotarov Committed by David S. Miller
Browse files

bnx2x: properly handle CFC DEL in cnic flow

parent 40955532
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3666,7 +3666,8 @@ static int bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid,
				      union event_ring_elem *elem)
				      union event_ring_elem *elem)
{
{
	if (!bp->cnic_eth_dev.starting_cid  ||
	if (!bp->cnic_eth_dev.starting_cid  ||
	    cid < bp->cnic_eth_dev.starting_cid)
	    (cid < bp->cnic_eth_dev.starting_cid &&
	    cid != bp->cnic_eth_dev.iscsi_l2_cid))
		return 1;
		return 1;


	DP(BNX2X_MSG_SP, "got delete ramrod for CNIC CID %d\n", cid);
	DP(BNX2X_MSG_SP, "got delete ramrod for CNIC CID %d\n", cid);