mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
amt: fix return value of amt_update_handler()
[ Upstream commitac1dbf5598
] If a relay receives an update message, it lookup a tunnel. and if there is no tunnel for that message, it should be treated as an error, not a success. But amt_update_handler() returns false, which means success. Fixes:cbc21dc1cf
("amt: add data plane of amt interface") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
61f26d00c0
commit
ec6feb113a
1 changed files with 1 additions and 1 deletions
|
@ -2423,7 +2423,7 @@ static bool amt_update_handler(struct amt_dev *amt, struct sk_buff *skb)
|
|||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
|
||||
report:
|
||||
iph = ip_hdr(skb);
|
||||
|
|
Loading…
Reference in a new issue