mbox series

[net,0/2] Couple of skb memory leak fixes

Message ID 20220117092733.6627-1-gal@nvidia.com (mailing list archive)
Headers show
Series Couple of skb memory leak fixes | expand

Message

Gal Pressman Jan. 17, 2022, 9:27 a.m. UTC
As discussed in:
https://lore.kernel.org/netdev/20220102081253.9123-1-gal@nvidia.com/

These are the two followup suggestions from Eric and Jakub.
Patch #1 adds a sk_defer_free_flush() call to the kTLS splice_read
handler.
Patch #2 verifies the defer list is empty on socket destroy, and calls a
defer free flush as well.

Thanks!

Gal Pressman (2):
  net/tls: Fix another skb memory leak when running kTLS traffic
  net: Flush deferred skb free on socket destroy

 net/core/sock.c  | 3 +++
 net/tls/tls_sw.c | 1 +
 2 files changed, 4 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 17, 2022, 1:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 17 Jan 2022 11:27:31 +0200 you wrote:
> As discussed in:
> https://lore.kernel.org/netdev/20220102081253.9123-1-gal@nvidia.com/
> 
> These are the two followup suggestions from Eric and Jakub.
> Patch #1 adds a sk_defer_free_flush() call to the kTLS splice_read
> handler.
> Patch #2 verifies the defer list is empty on socket destroy, and calls a
> defer free flush as well.
> 
> [...]

Here is the summary with links:
  - [net,1/2] net/tls: Fix another skb memory leak when running kTLS traffic
    https://git.kernel.org/netdev/net/c/db094aa8140e
  - [net,2/2] net: Flush deferred skb free on socket destroy
    https://git.kernel.org/netdev/net/c/79074a72d335

You are awesome, thank you!