Merge branch 'amt-fix-several-bugs'
authorJakub Kicinski <kuba@kernel.org>
Thu, 26 May 2022 04:36:19 +0000 (21:36 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 May 2022 04:36:20 +0000 (21:36 -0700)
commit1679ea99bcfa8c68518b04c87992b2b2fc096513
treebe36a6ae8030157e48a946e6363217a83b7406eb
parent7e062cda7d90543ac8c7700fc7c5527d0c0f22ad
parent1a1a0e80e005cbdc2c250fc858e1d8570f4e4acb
Merge branch 'amt-fix-several-bugs'

Taehee Yoo says:

====================
amt: fix several bugs

This patchset fixes several bugs in amt module

First patch fixes typo.

Second patch fixes wrong return value of amt_update_handler().
A relay finds a tunnel if it receives an update message from the gateway.
If it can't find a tunnel, amt_update_handler() should return an error,
not success. But it always returns success.

Third patch fixes a possible memory leak in amt_rcv().
A skb would not be freed if an amt interface doesn't have a socket.
====================

Link: https://lore.kernel.org/r/20220523161708.29518-1-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>