summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-09-03 04:26:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-04 07:22:05 +0300
commit9ce4fa548313f585c637aa846f7fc904b676bf43 (patch)
treefe886227eb05c3f4839c9bc4b072571d850e52f9 /scripts/gdb/linux/utils.py
parent7c8a2d8b366d2dc9e386b96e4555cc5c6932c43d (diff)
downloadlinux-9ce4fa548313f585c637aa846f7fc904b676bf43.tar.xz
nfp: flower: restore RTNL locking around representor updates
When we moved to updating representors from a workqueue grabbing the RTNL somehow got lost in the process. Restore it, and make sure RCU lock is not held while we are grabbing the RTNL. RCU protects the representor table, so since we will be under RTNL we can drop RCU lock as soon as we find the netdev pointer. RTNL is needed for the dev_set_mtu() call. Fixes: 2dff19622421 ("nfp: process MTU updates from firmware flower app") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions