Skip to content
Commit 427c9405 authored by John Wang's avatar John Wang Committed by Jakub Kicinski
Browse files

net/ncsi: Use real net-device for response handler

When aggregating ncsi interfaces and dedicated interfaces to bond
interfaces, the ncsi response handler will use the wrong net device to
find ncsi_dev, so that the ncsi interface will not work properly.
Here, we use the original net device to fix it.

Fixes: 138635cc

 ("net/ncsi: NCSI response packet handler")
Signed-off-by: default avatarJohn Wang <wangzhiqiang.bj@bytedance.com>
Link: https://lore.kernel.org/r/20201223055523.2069-1-wangzhiqiang.bj@bytedance.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 826f328e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment