diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2022-05-26 07:36:19 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-26 07:36:20 +0300 |
| commit | 1679ea99bcfa8c68518b04c87992b2b2fc096513 (patch) | |
| tree | be36a6ae8030157e48a946e6363217a83b7406eb /include | |
| parent | 7e062cda7d90543ac8c7700fc7c5527d0c0f22ad (diff) | |
| parent | 1a1a0e80e005cbdc2c250fc858e1d8570f4e4acb (diff) | |
| download | linux-1679ea99bcfa8c68518b04c87992b2b2fc096513.tar.xz | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/amt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/amt.h b/include/net/amt.h index 7a4db8b903ee..0e40c3d64fcf 100644 --- a/include/net/amt.h +++ b/include/net/amt.h @@ -15,7 +15,7 @@ enum amt_msg_type { AMT_MSG_MEMBERSHIP_QUERY, AMT_MSG_MEMBERSHIP_UPDATE, AMT_MSG_MULTICAST_DATA, - AMT_MSG_TEARDOWM, + AMT_MSG_TEARDOWN, __AMT_MSG_MAX, }; |
