Module Name: src Committed By: yamaguchi Date: Wed Feb 12 06:41:44 UTC 2020
Modified Files: src/sys/dev/pci: if_ixl.c Log Message: Remove wrong KASSERTs because mutex_owned for a spin lock doesn't check that a lock is held in the current context. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_ixl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_ixl.c diff -u src/sys/dev/pci/if_ixl.c:1.41 src/sys/dev/pci/if_ixl.c:1.42 --- src/sys/dev/pci/if_ixl.c:1.41 Wed Feb 12 06:37:21 2020 +++ src/sys/dev/pci/if_ixl.c Wed Feb 12 06:41:44 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ixl.c,v 1.41 2020/02/12 06:37:21 yamaguchi Exp $ */ +/* $NetBSD: if_ixl.c,v 1.42 2020/02/12 06:41:44 yamaguchi Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -3399,9 +3399,6 @@ ixl_handle_queue_common(struct ixl_softc int txmore, rxmore; int rv; - KASSERT(!mutex_owned(&txr->txr_lock)); - KASSERT(!mutex_owned(&rxr->rxr_lock)); - mutex_enter(&txr->txr_lock); txevcnt->ev_count++; txmore = ixl_txeof(sc, txr, txlimit);