]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: free reset-work-item when flushing
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Fri, 25 Feb 2022 06:23:51 +0000 (22:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2022 10:57:46 +0000 (10:57 +0000)
commit8d0657f39f487d904fca713e0bc39c2707382553
tree92f232bacfe0e0efbe5d8cb272f64fb5fb2b7ec2
parent31372fe9668e52c1f700c628c9fa716dd453f784
ibmvnic: free reset-work-item when flushing

Fix a tiny memory leak when flushing the reset work queue.

Fixes: 2770a7984db5 ("ibmvnic: Introduce hard reset recovery")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c