commit | d12537df343ec21054769f59bda3b15879644f52 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Apr 04 16:12:24 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 05 10:49:12 2017 -0700 |
tree | d1b10d4985385ba8280a692eabe85da712e4f12c | |
parent | b9de00770db50ce11f64cd7676dbcaf295a1926f [diff] |
nfp: add mutex protection for the port list We will want to unregister netdevs after their port got reconfigured. For that we need to make sure manipulations of port list from the port reconfiguration flow will not race with driver's .remove() callback. 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>