aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorJustin Chen <[email protected]>2024-04-18 18:05:41 +0000
committerJakub Kicinski <[email protected]>2024-04-20 03:32:29 +0000
commit9f898fc2c31fbf0ac5ecd289f528a716464cb005 (patch)
tree1d5a832849dfb6aeb83b0156724527038d7fe2ef /net/nsh/nsh.c
parentudp: preserve the connected status if only UDP cmsg (diff)
downloadkernel-9f898fc2c31fbf0ac5ecd289f528a716464cb005.tar.gz
kernel-9f898fc2c31fbf0ac5ecd289f528a716464cb005.zip
net: bcmasp: fix memory leak when bringing down interface
When bringing down the TX rings we flush the rings but forget to reclaimed the flushed packets. This leads to a memory leak since we do not free the dma mapped buffers. This also leads to tx control block corruption when bringing down the interface for power management. Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller") Signed-off-by: Justin Chen <[email protected]> Acked-by: Florian Fainelli <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions