summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason King <jason.king@joyent.com>2021-03-17 14:56:01 -0500
committerJason King <jason.king@joyent.com>2021-03-19 11:51:02 -0500
commit1dd392eb86f73b4fcf06627115882e9b0bf27e8c (patch)
tree15596775079c6350ed7915a616e2691e7bf3aa2c
parentfc1e9305ae86a296023d90240041e860548ba1bd (diff)
downloadillumos-joyent-1dd392eb86f73b4fcf06627115882e9b0bf27e8c.tar.gz
13644 ixgbe_ring_tx() has an invalid VERIFY under memory pressure
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r--usr/src/uts/common/io/ixgbe/ixgbe_tx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/src/uts/common/io/ixgbe/ixgbe_tx.c b/usr/src/uts/common/io/ixgbe/ixgbe_tx.c
index eb91f4af09..d325508029 100644
--- a/usr/src/uts/common/io/ixgbe/ixgbe_tx.c
+++ b/usr/src/uts/common/io/ixgbe/ixgbe_tx.c
@@ -27,7 +27,7 @@
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
* Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
- * Copyright 2020 Joyent, Inc.
+ * Copyright 2021 Joyent, Inc.
*/
#include "ixgbe_sw.h"
@@ -414,12 +414,6 @@ tx_failure:
}
/*
- * tcb->mp should not be set until we know we can transmit (see above),
- * so it should always be NULL if we get here.
- */
- VERIFY3P(tcb->mp, ==, NULL);
-
- /*
* Return the tx control blocks in the pending list to the free list.
*/
ixgbe_put_free_list(tx_ring, &pending_list);