commit | 1a1a0e80e005cbdc2c250fc858e1d8570f4e4acb | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Mon May 23 16:17:08 2022 +0000 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed May 25 21:36:16 2022 -0700 |
tree | be36a6ae8030157e48a946e6363217a83b7406eb | |
parent | ac1dbf55981b88d64312858ea06e3e63001f085d [diff] |
amt: fix possible memory leak in amt_rcv() If an amt receives packets and it finds socket. If it can't find a socket, it should free a received skb. But it doesn't. So, a memory leak would possibly occur. Fixes: cbc21dc1cfe9 ("amt: add data plane of amt interface") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>