Module Name: src Committed By: msaitoh Date: Wed Oct 28 07:08:08 UTC 2020
Modified Files: src/sys/dev/pci: if_wm.c Log Message: Add missing drain for pcq in wm_stop_locked(). OK'd by knakahara. This change fixes two problems: 1. If the pcq is full and watchdog timer is fired, the full state of the pcq is kept and wm_transmit() returns with ENOBUFS. 2. ifconfig down doesn't free mbufs in the pcq. To generate a diff of this commit: cvs rdiff -u -r1.691 -r1.692 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.