summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@hitachienergy.com>2026-05-07 18:53:32 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-09 04:48:30 +0300
commit496c0c4c53bbe1bad97e82cd12103df61a6e459d (patch)
treef0615a23f79597d16d68418657eda29add56d866 /scripts
parent28d006063253bf055291f62b0a48934cd5872dc0 (diff)
downloadlinux-496c0c4c53bbe1bad97e82cd12103df61a6e459d.tar.xz
net: wan: fsl_ucc_hdlc: free tx_skbuff in uhdlc_memclean
When the device is removed all allocated resources should be freed. In uhdlc_memclean the netdev transmit queue was already stopped. But at this point we may have pending skb in the transmit queue which must be freed. Therefore iterate over the tx_skbuff pointers and free all pending skb. The issue was discovered by sashiko. Tested on a ls1043a board running HDLC in bus mode on kernel 6.12. https: //sashiko.dev/#/patchset/20260429114208.941011-1-holger.brunck%40hitachienergy.com Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC") Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com> Link: https://patch.msgid.link/20260507155332.3452319-1-holger.brunck@hitachienergy.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions