summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/dld/dld_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/dld/dld_proto.c')
-rw-r--r--usr/src/uts/common/io/dld/dld_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/dld/dld_proto.c b/usr/src/uts/common/io/dld/dld_proto.c
index 238dd9bb22..1371fa47c0 100644
--- a/usr/src/uts/common/io/dld/dld_proto.c
+++ b/usr/src/uts/common/io/dld/dld_proto.c
@@ -1291,7 +1291,7 @@ proto_unitdata_req(dld_str_t *dsp, mblk_t *mp)
* No lock can be held across modules and putnext()'s,
* which can happen here with the call from DLD_TX().
*/
- if (DLD_TX(dsp, bp, 0, 0) != NULL) {
+ if (DLD_TX(dsp, bp, 0, 0) != 0) {
/* flow-controlled */
DLD_SETQFULL(dsp);
}