]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb25c2efc27d2b067142fd158fadb0fa4342f184
treebe36a6ae8030157e48a946e6363217a83b7406eb
parent24e89d5cc508cf602b99f0485e811d2431e3790c
parenta2307f16014c3b4898702164232c251e9778dd45
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>