]> git.baikalelectronics.ru Git - kernel.git/commit
amt: fix wrong usage of pskb_may_pull()
authorTaehee Yoo <ap420073@gmail.com>
Thu, 2 Jun 2022 14:01:06 +0000 (14:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 6 Jun 2022 21:27:35 +0000 (14:27 -0700)
commitf55a07074fdd38cab8c097ac5bd397d68eff733c
treeee715f71251d10c0f5b29824feb6841074e89fa8
parentc76acfb7e19dcc3a0964e0563770b1d11b8d4540
amt: fix wrong usage of pskb_may_pull()

It adds missing pskb_may_pull() in amt_update_handler() and
amt_multicast_data_handler().
And it fixes wrong parameter of pskb_may_pull() in
amt_advertisement_handler() and amt_membership_query_handler().

Reported-by: Jakub Kicinski <kuba@kernel.org>
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>
drivers/net/amt.c