summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYinjun Zhang <yinjun.zhang@corigine.com>2022-12-20 18:21:00 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-22 05:03:42 +0300
commite20aa071cd955aabc15be0ec1e914283592ddef4 (patch)
tree0e88f17172a14505d3bc5ec8dcc37b5ca0798fc1 /net
parent3d8f2c4269d08f8793e946279dbdf5e972cc4911 (diff)
downloadlinux-e20aa071cd955aabc15be0ec1e914283592ddef4.tar.xz
nfp: fix schedule in atomic context when sync mc address
The callback `.ndo_set_rx_mode` is called in atomic context, sleep is not allowed in the implementation. Now use workqueue mechanism to avoid this issue. Fixes: de6248644966 ("nfp: add support for multicast filter") Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com> Reviewed-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20221220152100.1042774-1-simon.horman@corigine.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions